|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Context
Context provides methods to Provider instance to discover ServiceEndpoints
and create MessageExchangeFactory objects.
Instance is injected by Service Engine into member variable annotated using
Resource
.
Resource
Method Summary | |
---|---|
javax.jbi.messaging.MessageExchangeFactory |
createExchangeFactory()
Returns MessageExchangeFactory Delegates call to DeliveryChannel . |
javax.jbi.messaging.MessageExchangeFactory |
createExchangeFactory(javax.xml.namespace.QName interfaceName)
Returns MessageExchangeFactory for a given interface. |
javax.jbi.messaging.MessageExchangeFactory |
createExchangeFactory(javax.jbi.servicedesc.ServiceEndpoint endpoint)
Returns MessageExchangeFactory for given ServiceEndpoint Delegates call to DeliveryChannel . |
javax.jbi.messaging.MessageExchangeFactory |
createExchangeFactoryForService(javax.xml.namespace.QName serviceName)
Returns MessageExchangeFactory for given service name. |
Consumer |
getConsumer()
Gets the new Consumer instance. |
Consumer |
getConsumer(javax.jbi.servicedesc.ServiceEndpoint se,
javax.xml.namespace.QName oper,
javax.xml.namespace.QName inpt)
Gets the new Consumer instance. |
javax.jbi.servicedesc.ServiceEndpoint |
getEndpoint(javax.xml.namespace.QName serviceName,
java.lang.String endpoint)
Get the service endpoint for the named activated endpoint, if any. Delegates call to ComponentContext . |
org.w3c.dom.Document |
getEndpointDescriptor(javax.jbi.servicedesc.ServiceEndpoint endpoint)
Retrieve the service description metadata for the specified endpoint. Delegates call to ComponentContext . |
javax.jbi.servicedesc.ServiceEndpoint[] |
getEndpoints(javax.xml.namespace.QName interfaceName)
Queries the NMR for active endpoints that implement the given interface. Delegates call to ComponentContext . |
javax.jbi.servicedesc.ServiceEndpoint[] |
getEndpointsForService(javax.xml.namespace.QName serviceName)
Queries the NMR for active endpoints belonging to the given service. Delegates call to ComponentContext . |
javax.jbi.servicedesc.ServiceEndpoint[] |
getExternalEndpoints(javax.xml.namespace.QName interfaceName)
Queries the NMR for external endpoints that implement the given interface name. Delegates call to ComponentContext . |
javax.jbi.servicedesc.ServiceEndpoint[] |
getExternalEndpointsForService(javax.xml.namespace.QName serviceName)
Queries the NMR for external endpoints that are part of the given service. |
javax.jbi.messaging.MessageExchange |
getMessageExchange()
Returns MessageExchange associated with this POJO's Provisioning Service. |
javax.naming.InitialContext |
getNamingContext()
Returns intsnace of InitialContext or null. |
javax.jbi.servicedesc.ServiceEndpoint |
resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
Resolve the given endpoint reference into a service endpoint. |
Method Detail |
---|
javax.jbi.servicedesc.ServiceEndpoint getEndpoint(javax.xml.namespace.QName serviceName, java.lang.String endpoint)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIorg.w3c.dom.Document getEndpointDescriptor(javax.jbi.servicedesc.ServiceEndpoint endpoint) throws javax.jbi.JBIException
ComponentContext
.
javax.jbi.JBIException
ComponentContext
,
JBI 1.0 APIjavax.jbi.servicedesc.ServiceEndpoint[] getEndpoints(javax.xml.namespace.QName interfaceName)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIjavax.jbi.servicedesc.ServiceEndpoint[] getEndpointsForService(javax.xml.namespace.QName serviceName)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIjavax.jbi.servicedesc.ServiceEndpoint[] getExternalEndpoints(javax.xml.namespace.QName interfaceName)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIjavax.jbi.servicedesc.ServiceEndpoint[] getExternalEndpointsForService(javax.xml.namespace.QName serviceName)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIjavax.jbi.servicedesc.ServiceEndpoint resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIjavax.jbi.messaging.MessageExchangeFactory createExchangeFactory()
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIjavax.jbi.messaging.MessageExchangeFactory createExchangeFactory(javax.xml.namespace.QName interfaceName)
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIjavax.jbi.messaging.MessageExchangeFactory createExchangeFactory(javax.jbi.servicedesc.ServiceEndpoint endpoint)
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIjavax.jbi.messaging.MessageExchangeFactory createExchangeFactoryForService(javax.xml.namespace.QName serviceName)
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIjavax.jbi.messaging.MessageExchange getMessageExchange()
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIjavax.naming.InitialContext getNamingContext()
ComponentContext
.
Consumer getConsumer(javax.jbi.servicedesc.ServiceEndpoint se, javax.xml.namespace.QName oper, javax.xml.namespace.QName inpt)
se
- ServiceEndpointoper
- QName of the operationinpt
- QName of the input
Consumer getConsumer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |