org.apache.servicemix.common.osgi
Class EndpointExporter
java.lang.Object
org.apache.servicemix.common.osgi.EndpointExporter
- All Implemented Interfaces:
- DeployedAssembly, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.osgi.context.BundleContextAware
public class EndpointExporter
- extends java.lang.Object
- implements org.springframework.osgi.context.BundleContextAware, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, DeployedAssembly
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointExporter
public EndpointExporter()
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
- Specified by:
setBundleContext in interface org.springframework.osgi.context.BundleContextAware
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
setEndpoints
public void setEndpoints(java.util.Collection<Endpoint> endpoints)
getEndpoints
public java.util.Collection<Endpoint> getEndpoints()
getName
public java.lang.String getName()
- Specified by:
getName in interface DeployedAssembly
getServiceUnits
public java.util.Map<java.lang.String,java.lang.String> getServiceUnits()
- Specified by:
getServiceUnits in interface DeployedAssembly
undeploy
public void undeploy(boolean restart)
- Specified by:
undeploy in interface DeployedAssembly
deploy
public void deploy()
checkAndRegisterSA
protected void checkAndRegisterSA(Endpoint ep)
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
Copyright © 2005-2012 FuseSource. All Rights Reserved.