| org.springframework.jndi.JndiLocatorSupport org.springframework.context.access.ContextJndiBeanFactoryLocator
Field Summary | |
final public static String | BEAN_FACTORY_PATH_DELIMITERS Any number of these characters are considered delimiters between
multiple bean factory config paths in a single String value. |
BEAN_FACTORY_PATH_DELIMITERS | final public static String BEAN_FACTORY_PATH_DELIMITERS(Code) | | Any number of these characters are considered delimiters between
multiple bean factory config paths in a single String value.
|
createApplicationContext | protected ApplicationContext createApplicationContext(String[] resources) throws BeansException(Code) | | Create the ApplicationContext instance, given an array of class path resource
Strings which should be combined
Parameters: resources - an array of Strings representing classpath resource names the created ApplicationContext throws: BeansException - if context creation failed |
createBeanFactory | protected BeanFactoryReference createBeanFactory(String[] resources) throws BeansException(Code) | | Create the BeanFactory instance, given an array of class path resource Strings
which should be combined. This is split out as a separate method so that
subclasses can override the actual BeanFactory implementation class.
Delegates to createApplicationContext by default,
wrapping the result in a ContextBeanFactoryReference.
Parameters: resources - an array of Strings representing classpath resource names the created BeanFactory, wrapped in a BeanFactoryReference(for example, a ContextBeanFactoryReference wrapping an ApplicationContext) throws: BeansException - if factory creation failed See Also: ContextJndiBeanFactoryLocator.createApplicationContext See Also: ContextBeanFactoryReference |
useBeanFactory | public BeanFactoryReference useBeanFactory(String factoryKey) throws BeansException(Code) | | Load/use a bean factory, as specified by a factory key which is a JNDI
address, of the form java:comp/env/ejb/BeanFactoryPath . The
contents of this JNDI location must be a string containing one or more
classpath resource names (separated by any of the delimiters ',; \t\n '
if there is more than one. The resulting BeanFactory (or ApplicationContext)
will be created from the combined resources.
See Also: ContextJndiBeanFactoryLocator.createBeanFactory |
Fields inherited from org.springframework.jndi.JndiLocatorSupport | final public static String CONTAINER_PREFIX(Code)(Java Doc)
|
|
|