org.apache.servicemix.wsn.component
Class WSNEndpoint
java.lang.Object
org.apache.servicemix.common.Endpoint
org.apache.servicemix.wsn.component.WSNEndpoint
- All Implemented Interfaces:
- ExchangeProcessor
public class WSNEndpoint
- extends Endpoint
- implements ExchangeProcessor
| Methods inherited from class org.apache.servicemix.common.Endpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate |
activated
protected ServiceEndpoint activated
address
protected String address
pojo
protected Object pojo
channel
protected DeliveryChannel channel
jaxbContext
protected javax.xml.bind.JAXBContext jaxbContext
endpointInterface
protected Class endpointInterface
WSNEndpoint
public WSNEndpoint(String address,
Object pojo)
getRole
public MessageExchange.Role getRole()
- Specified by:
getRole in class Endpoint
activate
public void activate()
throws Exception
- Specified by:
activate in class Endpoint
- Throws:
Exception
createJAXBContext
public static javax.xml.bind.JAXBContext createJAXBContext(Class interfaceClass)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
deactivate
public void deactivate()
throws Exception
- Specified by:
deactivate in class Endpoint
- Throws:
Exception
getProcessor
public ExchangeProcessor getProcessor()
- Specified by:
getProcessor in class Endpoint
process
public void process(MessageExchange exchange)
throws Exception
- Specified by:
process in interface ExchangeProcessor
- Throws:
Exception
getWebServiceMethod
protected Method getWebServiceMethod(QName interfaceName,
QName operation)
throws Exception
- Throws:
Exception
getWebServiceAnnotation
protected javax.jws.WebService getWebServiceAnnotation(Class clazz)
start
public void start()
throws Exception
- Specified by:
start in interface ExchangeProcessor
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface ExchangeProcessor
- Throws:
Exception
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.