|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Context
.
public interface POJOContext
POJO Context provides easy methods to POJO Service to invoke another service. Instance is injected by POJO Service Engine into member variable annotated with POJOResource
Context
,
Resource
Nested Class Summary | |
---|---|
static class |
POJOContext.MessageObjectType
Deprecated. |
Method Summary | |
---|---|
MessageExchangeFactory |
createExchangeFactory()
Deprecated. Returns MessageExchangeFactory |
MessageExchangeFactory |
createExchangeFactory(javax.xml.namespace.QName interfaceName)
Deprecated. Returns MessageExchangeFactory for a given interface. |
MessageExchangeFactory |
createExchangeFactory(ServiceEndpoint endpoint)
Deprecated. Returns MessageExchangeFactory for given ServiceEndpoint |
MessageExchangeFactory |
createExchangeFactoryForService(javax.xml.namespace.QName serviceName)
Deprecated. Returns MessageExchangeFactory for given service name. |
ServiceEndpoint |
getEndpoint(javax.xml.namespace.QName serviceName,
java.lang.String endpoint)
Deprecated. Get the service endpoint for the named activated endpoint, if any. |
org.w3c.dom.Document |
getEndpointDescriptor(ServiceEndpoint endpoint)
Deprecated. Retrieve the service description metadata for the specified endpoint. |
ServiceEndpoint[] |
getEndpoints(javax.xml.namespace.QName interfaceName)
Deprecated. Queries the NMR for active endpoints that implement the given interface. |
ServiceEndpoint[] |
getEndpointsForService(javax.xml.namespace.QName serviceName)
Deprecated. Queries the NMR for active endpoints belonging to the given service. |
ServiceEndpoint[] |
getExternalEndpoints(javax.xml.namespace.QName interfaceName)
Deprecated. Queries the NMR for external endpoints that implement the given interface name. |
ServiceEndpoint[] |
getExternalEndpointsForService(javax.xml.namespace.QName serviceName)
Deprecated. Queries the NMR for external endpoints that are part of the given service. |
MessageExchange |
getMessageExchange()
Deprecated. Returns MessageExchange associated with this POJO's Provisioning Service. |
ServiceEndpoint |
resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
Deprecated. Resolve the given endpoint reference into a service endpoint. |
void |
send(MessageExchange me)
Deprecated. Sends the status in asynch mode as needed by runtime. |
boolean |
sendSynch(MessageExchange me)
Deprecated. Sends the MessageExchange in synch mode. |
void |
sendSynchInOnly(ServiceEndpoint se,
java.lang.Object msg)
Deprecated. Sends the message to given ServiceEndpoint. |
java.lang.Object |
sendSynchInOut(ServiceEndpoint se,
java.lang.Object inMsg,
POJOContext.MessageObjectType outputType)
Deprecated. Sends the message to given ServiceEndpoint. |
Method Detail |
---|
ServiceEndpoint getEndpoint(javax.xml.namespace.QName serviceName, java.lang.String endpoint)
org.w3c.dom.Document getEndpointDescriptor(ServiceEndpoint endpoint) throws JBIException
JBIException
ServiceEndpoint[] getEndpoints(javax.xml.namespace.QName interfaceName)
ServiceEndpoint[] getEndpointsForService(javax.xml.namespace.QName serviceName)
ServiceEndpoint[] getExternalEndpoints(javax.xml.namespace.QName interfaceName)
ServiceEndpoint[] getExternalEndpointsForService(javax.xml.namespace.QName serviceName)
ServiceEndpoint resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
MessageExchangeFactory createExchangeFactory()
MessageExchangeFactory createExchangeFactory(javax.xml.namespace.QName interfaceName)
MessageExchangeFactory createExchangeFactory(ServiceEndpoint endpoint)
MessageExchangeFactory createExchangeFactoryForService(javax.xml.namespace.QName serviceName)
MessageExchange getMessageExchange()
boolean sendSynch(MessageExchange me) throws ErrorMessage
me
- MessageExchange
ErrorMessage
- any MessagingException is also wrapped in this object.void send(MessageExchange me) throws ErrorMessage
me
- MessageExchange
ErrorMessage
- any MessagingException is also wrapped in this object.void sendSynchInOnly(ServiceEndpoint se, java.lang.Object msg) throws ErrorMessage
se
- msg
-
org.glassfish.openesb.pojose.api.POJOError
ErrorMessage
java.lang.Object sendSynchInOut(ServiceEndpoint se, java.lang.Object inMsg, POJOContext.MessageObjectType outputType) throws MessageException
se
- inMsg
-
org.glassfish.openesb.pojose.api.POJOError
MessageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |