public class SpringCamelContextBootstrap
extends java.lang.Object
SpringCamelContext.| Constructor and Description |
|---|
SpringCamelContextBootstrap(byte[] bytes,
java.lang.ClassLoader classLoader) |
SpringCamelContextBootstrap(java.net.URL contextUrl,
java.lang.ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.apache.camel.spring.SpringCamelContext> |
createSpringCamelContexts()
Initializes the Spring
GenericApplicationContext and returns all instances of SpringCamelContext beans. |
java.lang.ClassLoader |
getClassLoader()
Gets the ClassLoader associated with the Spring
GenericApplicationContext |
java.util.List<java.lang.String> |
getJndiNames()
Gets JNDI names for all configured instances of
JndiObjectFactoryBean
Note: If this method is invoked before ApplicationContext.refresh() then any bean property
values containing property placeholders will not be resolved. |
java.util.List<org.apache.camel.spring.SpringCamelContext> |
getSpringCamelContexts()
Returns all beans of type
SpringCamelContext that are present in the Spring bean factory. |
public SpringCamelContextBootstrap(java.net.URL contextUrl,
java.lang.ClassLoader classLoader)
contextUrl - The URL path to the Spring context descriptorclassLoader - The ClassLoader that the Spring GenericApplicationContext should usepublic SpringCamelContextBootstrap(byte[] bytes,
java.lang.ClassLoader classLoader)
bytes - The byte array for the Spring context descriptorclassLoader - The ClassLoader that the Spring GenericApplicationContext should usepublic java.util.List<org.apache.camel.spring.SpringCamelContext> createSpringCamelContexts()
throws java.lang.Exception
GenericApplicationContext and returns all instances of SpringCamelContext beans.
Note that SpringCamelContext instances are created in the stopped state. Starting the SpringCamelContext
is left to the caller.SpringCamelContext instancesjava.lang.Exceptionpublic java.util.List<org.apache.camel.spring.SpringCamelContext> getSpringCamelContexts()
SpringCamelContext that are present in the Spring bean factory.SpringCamelContext instancespublic java.util.List<java.lang.String> getJndiNames()
JndiObjectFactoryBean
Note: If this method is invoked before ApplicationContext.refresh() then any bean property
values containing property placeholders will not be resolved.public java.lang.ClassLoader getClassLoader()
GenericApplicationContextGenericApplicationContextCopyright © 2019. All rights reserved.