org.apache.servicemix.camel.osgi
Class OsgiJbiComponent

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent
          extended by org.apache.servicemix.camel.JbiComponent
              extended by org.apache.servicemix.camel.osgi.OsgiJbiComponent
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Component, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class OsgiJbiComponent
extends JbiComponent
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

OSGi-specific servicemix-camel JbiComponent implementation that looks up the CamelComponent in the OSGi Service Registry


Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
OsgiJbiComponent()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 
Methods inherited from class org.apache.servicemix.camel.JbiComponent
createBinding, createCamelProcessor, createEndpoint, createEndpoint, createEndpointName, createJbiEndpointFromCamel, createJbiEndpointFromCamel, getCamelContext, getCamelJbiComponent, getSuName, setCamelContext, setCamelJbiComponent, setSuName
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
afterConfiguration, createConfiguration, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURI
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsgiJbiComponent

public OsgiJbiComponent()
Method Detail

afterPropertiesSet

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

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.