|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Endpoint
| Method Summary | |
|---|---|
void |
activate()
Register this endpoint into the NMR and put the endpoint in a STOPPED state, where the endpoint is able to process incoming requests, but won't consume external requests such as JMS messages or HTTP requests. |
void |
deactivate()
Unregister this endpoint from the NMR. |
org.w3c.dom.Document |
getDescription()
|
java.lang.String |
getEndpoint()
|
javax.xml.namespace.QName |
getInterfaceName()
|
java.lang.String |
getKey()
|
javax.jbi.messaging.MessageExchange.Role |
getRole()
|
javax.xml.namespace.QName |
getService()
|
ServiceUnit |
getServiceUnit()
|
boolean |
isExchangeOkay(javax.jbi.messaging.MessageExchange exchange)
|
void |
process(javax.jbi.messaging.MessageExchange exchange)
Process an incoming JBI exchange. |
void |
setServiceUnit(ServiceUnit serviceUnit)
|
void |
start()
Start consumption of external requests. |
void |
stop()
Stop consumption of external requests. |
void |
validate()
Validation is a step which is done at deployment time to check that the endpoint definition is valid and that there is no missing properties. |
| Method Detail |
|---|
java.lang.String getKey()
javax.xml.namespace.QName getInterfaceName()
javax.xml.namespace.QName getService()
java.lang.String getEndpoint()
org.w3c.dom.Document getDescription()
javax.jbi.messaging.MessageExchange.Role getRole()
ServiceUnit getServiceUnit()
void setServiceUnit(ServiceUnit serviceUnit)
boolean isExchangeOkay(javax.jbi.messaging.MessageExchange exchange)
void activate()
throws java.lang.Exception
java.lang.Exception
void start()
throws java.lang.Exception
java.lang.Exception
void stop()
throws java.lang.Exception
java.lang.Exception
void deactivate()
throws java.lang.Exception
java.lang.Exception
void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
exchange -
java.lang.Exception
void validate()
throws javax.jbi.management.DeploymentException
javax.jbi.management.DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||