org.apache.servicemix.wsn.component
Class WSNDeployableEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.wsn.component.WSNDeployableEndpoint
- All Implemented Interfaces:
- Endpoint, EndpointManager
- Direct Known Subclasses:
- WSNPublisherEndpoint, WSNPullPointEndpoint, WSNSubscriptionEndpoint
public abstract class WSNDeployableEndpoint
- extends AbstractEndpoint
- implements EndpointManager
| Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
activate, deactivate, getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getRole, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate |
WSNDeployableEndpoint
public WSNDeployableEndpoint()
getNotificationBroker
public JbiNotificationBroker getNotificationBroker()
getCreatePullPoint
public JmsCreatePullPoint getCreatePullPoint()
process
public void process(javax.jbi.messaging.MessageExchange exchange)
throws Exception
- Specified by:
process in interface Endpoint- Specified by:
process in class AbstractEndpoint
- Throws:
Exception
register
public Object register(String address,
Object service)
throws EndpointRegistrationException
- Specified by:
register in interface EndpointManager
- Throws:
EndpointRegistrationException
unregister
public void unregister(Object endpoint)
throws EndpointRegistrationException
- Specified by:
unregister in interface EndpointManager
- Throws:
EndpointRegistrationException
start
public void start()
throws Exception
- Specified by:
start in interface Endpoint- Specified by:
start in class AbstractEndpoint
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface Endpoint- Specified by:
stop in class AbstractEndpoint
- Throws:
Exception
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.