Package | Description |
---|---|
org.springframework.beans.factory.access |
Helper infrastructure to locate and access bean factories.
|
org.springframework.context.access |
Helper infrastructure to locate and access shared application contexts.
|
org.springframework.ejb.interceptor |
Support classes for EJB 3 Session Beans and Message-Driven Beans,
performing injection of Spring beans through an EJB 3 interceptor
that processes Spring's
@Autowired annotation. |
org.springframework.ejb.support |
Base classes to make implementing EJB 2.x beans simpler and less error-prone,
as well as guaranteeing a Spring BeanFactory is available to such EJBs.
|
Modifier and Type | Class and Description |
---|---|
class |
SingletonBeanFactoryLocator
Keyed-singleton implementation of
BeanFactoryLocator ,
which accesses shared Spring BeanFactory instances. |
Modifier and Type | Method and Description |
---|---|
static BeanFactoryLocator |
SingletonBeanFactoryLocator.getInstance()
Returns an instance which uses the default "classpath*:beanRefFactory.xml",
as the name of the definition file(s).
|
static BeanFactoryLocator |
SingletonBeanFactoryLocator.getInstance(String selector)
Returns an instance which uses the the specified selector, as the name of the
definition file(s).
|
Modifier and Type | Class and Description |
---|---|
class |
ContextJndiBeanFactoryLocator
BeanFactoryLocator implementation that creates the BeanFactory from one or
more classpath locations specified in a JNDI environment variable.
|
class |
ContextSingletonBeanFactoryLocator
Variant of
SingletonBeanFactoryLocator
which creates its internal bean factory reference as an
ApplicationContext instead of
SingletonBeanFactoryLocator's simple BeanFactory. |
Modifier and Type | Method and Description |
---|---|
static BeanFactoryLocator |
ContextSingletonBeanFactoryLocator.getInstance()
Returns an instance which uses the default "classpath*:beanRefContext.xml", as
the name of the definition file(s).
|
static BeanFactoryLocator |
DefaultLocatorFactory.getInstance()
Return an instance object implementing BeanFactoryLocator.
|
static BeanFactoryLocator |
ContextSingletonBeanFactoryLocator.getInstance(String selector)
Returns an instance which uses the the specified selector, as the name of the
definition file(s).
|
static BeanFactoryLocator |
DefaultLocatorFactory.getInstance(String selector)
Return an instance object implementing BeanFactoryLocator.
|
Modifier and Type | Method and Description |
---|---|
protected BeanFactoryLocator |
SpringBeanAutowiringInterceptor.getBeanFactoryLocator(Object target)
Determine the BeanFactoryLocator to obtain the BeanFactoryReference from.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractEnterpriseBean.setBeanFactoryLocator(BeanFactoryLocator beanFactoryLocator)
Deprecated.
Set the BeanFactoryLocator to use for this EJB.
|
Copyright © 2015. All rights reserved.