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