org.apache.camel.component.cxf.spring
Class SpringBusFactoryBean
java.lang.Object
org.apache.camel.component.cxf.spring.SpringBusFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.SmartFactoryBean
public class SpringBusFactoryBean
- extends Object
- implements org.springframework.beans.factory.SmartFactoryBean
This factoryBean which can help user to choice CXF components that he wants bus to load
without needing to import bunch of CXF packages in OSGi bundle, as the SpringBusFactory
will try to load the bus extensions with the CXF bundle classloader.
You can set the CXF extensions files with ; as the separator to create a bus.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringBusFactoryBean
public SpringBusFactoryBean()
getObject
public Object getObject()
throws Exception
- Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
setCfgFiles
public void setCfgFiles(String cfgFiles)
setIncludeDefaultBus
public void setIncludeDefaultBus(boolean includeDefaultBus)
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean
isEagerInit
public boolean isEagerInit()
- Specified by:
isEagerInit in interface org.springframework.beans.factory.SmartFactoryBean
isPrototype
public boolean isPrototype()
- Specified by:
isPrototype in interface org.springframework.beans.factory.SmartFactoryBean
Apache CAMEL