org.apache.servicemix.lwcontainer
Class LwContainerExtra

java.lang.Object
  extended by org.apache.servicemix.common.endpoints.AbstractEndpoint
      extended by org.apache.servicemix.lwcontainer.LwContainerExtra
All Implemented Interfaces:
org.apache.servicemix.common.Endpoint

public class LwContainerExtra
extends org.apache.servicemix.common.endpoints.AbstractEndpoint

Fake endpoint that hold components, endpoints, listeners and services.


Field Summary
 
Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint
definition, description, endpoint, interfaceName, logger, service, serviceUnit
 
Constructor Summary
LwContainerExtra(Map components, Map endpoints, EventListener[] listeners, BaseSystemService[] services)
           
 
Method Summary
 void activate()
           
protected  String createComponentID()
           
 void deactivate()
           
 org.apache.servicemix.common.ExchangeProcessor getProcessor()
           
 javax.jbi.messaging.MessageExchange.Role getRole()
           
 void process(javax.jbi.messaging.MessageExchange exchange)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LwContainerExtra

public LwContainerExtra(Map components,
                        Map endpoints,
                        EventListener[] listeners,
                        BaseSystemService[] services)
Method Detail

activate

public void activate()
              throws Exception
Specified by:
activate in interface org.apache.servicemix.common.Endpoint
Specified by:
activate in class org.apache.servicemix.common.endpoints.AbstractEndpoint
Throws:
Exception

deactivate

public void deactivate()
                throws Exception
Specified by:
deactivate in interface org.apache.servicemix.common.Endpoint
Specified by:
deactivate in class org.apache.servicemix.common.endpoints.AbstractEndpoint
Throws:
Exception

getProcessor

public org.apache.servicemix.common.ExchangeProcessor getProcessor()

getRole

public javax.jbi.messaging.MessageExchange.Role getRole()
Specified by:
getRole in interface org.apache.servicemix.common.Endpoint
Specified by:
getRole in class org.apache.servicemix.common.endpoints.AbstractEndpoint

createComponentID

protected String createComponentID()

process

public void process(javax.jbi.messaging.MessageExchange exchange)
             throws Exception
Specified by:
process in interface org.apache.servicemix.common.Endpoint
Specified by:
process in class org.apache.servicemix.common.endpoints.AbstractEndpoint
Throws:
Exception

start

public void start()
           throws Exception
Specified by:
start in interface org.apache.servicemix.common.Endpoint
Specified by:
start in class org.apache.servicemix.common.endpoints.AbstractEndpoint
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface org.apache.servicemix.common.Endpoint
Specified by:
stop in class org.apache.servicemix.common.endpoints.AbstractEndpoint
Throws:
Exception


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.