@Override public BaseServiceUnitManager createServiceUnitManager() { Deployer[] deployers = new Deployer[] {new CamelSpringDeployer(this)}; return new BaseServiceUnitManager(this, deployers); }
public BaseServiceUnitManager createServiceUnitManager() { CamelSpringDeployer deployer = new OsgiCamelSpringDeployer(this); return new BaseServiceUnitManager(this, new Deployer[] {deployer}); }
/** * Create the service unit manager. * Derived classes should override this method and return a * BaseServiceUnitManager so that the component is able to * handle service unit deployment. * * The default implementation will create a @{link BaseXBeanDeployer} instance * using the value of @{link #getEndpointClasses()} if that method returns a non-null value * otherwise it returns null. * * @return a newly created service unit manager */ protected BaseServiceUnitManager createServiceUnitManager() { Class[] classes = getEndpointClasses(); if (classes == null) { return null; } Deployer[] deployers = new Deployer[] { new BaseXBeanDeployer(this, classes) }; return new BaseServiceUnitManager(this, deployers); }
public BaseServiceUnitManager createServiceUnitManager() { Deployer[] deployers = new Deployer[] {new BaseXBeanDeployer(this, getEndpointClasses()), new JmsWsdl1Deployer(this)}; return new BaseServiceUnitManager(this, deployers); }
public BaseServiceUnitManager createServiceUnitManager() { Deployer[] deployers = new Deployer[] {new BaseXBeanDeployer(this, getEndpointClasses()), new HttpWsdl1Deployer(this)}; return new BaseServiceUnitManager(this, deployers); }