org.apache.servicemix.lwcontainer
Class LwContainerEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.lwcontainer.LwContainerEndpoint
- All Implemented Interfaces:
- org.apache.servicemix.common.Endpoint
public class LwContainerEndpoint
- extends org.apache.servicemix.common.endpoints.AbstractEndpoint
| Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
definition, description, endpoint, interfaceName, logger, service, serviceUnit |
|
Constructor Summary |
LwContainerEndpoint(org.apache.servicemix.jbi.container.ActivationSpec activationSpec)
|
| 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 |
LwContainerEndpoint
public LwContainerEndpoint(org.apache.servicemix.jbi.container.ActivationSpec activationSpec)
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
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()
getContainer
public org.apache.servicemix.jbi.container.JBIContainer getContainer()
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-2010 The Apache Software Foundation. All Rights Reserved.