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
|
Constructor Summary |
WSNEndpoint(java.lang.String address,
java.lang.Object pojo)
|
|
Method Summary |
void |
activate()
|
static javax.xml.bind.JAXBContext |
createJAXBContext(java.lang.Class interfaceClass)
|
static javax.xml.bind.JAXBContext |
createJAXBContext(java.lang.Iterable<java.lang.Class> interfaceClasses)
|
javax.xml.bind.JAXBContext |
getJaxbContext()
|
protected javax.jws.WebService |
getWebServiceAnnotation(java.lang.Class clazz)
|
protected java.lang.reflect.Method |
getWebServiceMethod(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName operation)
|
void |
process(javax.jbi.messaging.MessageExchange exchange)
|
| 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 |
address
protected java.lang.String address
pojo
protected java.lang.Object pojo
jaxbContext
protected javax.xml.bind.JAXBContext jaxbContext
endpointInterfaces
protected java.util.Set<java.lang.Class> endpointInterfaces
WSNEndpoint
public WSNEndpoint(java.lang.String address,
java.lang.Object pojo)
activate
public void activate()
throws java.lang.Exception
- Specified by:
activate in interface Endpoint- Overrides:
activate in class ProviderEndpoint
- Throws:
java.lang.Exception
createJAXBContext
public static javax.xml.bind.JAXBContext createJAXBContext(java.lang.Class interfaceClass)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
createJAXBContext
public static javax.xml.bind.JAXBContext createJAXBContext(java.lang.Iterable<java.lang.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 java.lang.Exception
- Specified by:
process in interface Endpoint- Overrides:
process in class ProviderEndpoint
- Throws:
java.lang.Exception
getWebServiceMethod
protected java.lang.reflect.Method getWebServiceMethod(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName operation)
throws java.lang.Exception
- Throws:
java.lang.Exception
getWebServiceAnnotation
protected javax.jws.WebService getWebServiceAnnotation(java.lang.Class clazz)
Copyright © 2005-2011 FuseSource. All Rights Reserved.