org.apache.servicemix.wsn.component
Class WSNEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ProviderEndpoint
org.apache.servicemix.wsn.component.WSNEndpoint
- All Implemented Interfaces:
- Endpoint
public class WSNEndpoint
- extends ProviderEndpoint
| 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 |
address
protected String address
pojo
protected Object pojo
jaxbContext
protected javax.xml.bind.JAXBContext jaxbContext
endpointInterfaces
protected Set<Class> endpointInterfaces
WSNEndpoint
public WSNEndpoint(String address,
Object pojo)
activate
public void activate()
throws Exception
- Specified by:
activate in interface Endpoint- Overrides:
activate 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
createJAXBContext
public static javax.xml.bind.JAXBContext createJAXBContext(Iterable<Class> interfaceClasses)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
getJaxbContext
public javax.xml.bind.JAXBContext getJaxbContext()
process
public void process(javax.jbi.messaging.MessageExchange exchange)
throws Exception
- Specified by:
process in interface Endpoint- 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.