org.apache.servicemix.common.osgi
Class EndpointExporter

java.lang.Object
  extended by 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 Object
implements org.springframework.osgi.context.BundleContextAware, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, DeployedAssembly


Constructor Summary
EndpointExporter()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 Collection<Endpoint> getEndpoints()
           
 String getName()
           
 Map<String,String> getServiceUnits()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 void setEndpoints(Collection<Endpoint> endpoints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointExporter

public EndpointExporter()
Method Detail

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(Collection<Endpoint> endpoints)

getEndpoints

public Collection<Endpoint> getEndpoints()

getName

public String getName()
Specified by:
getName in interface DeployedAssembly

getServiceUnits

public Map<String,String> getServiceUnits()
Specified by:
getServiceUnits in interface DeployedAssembly

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.