|
||||||||||
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 | |
---|---|
MessageExchangeFactory |
createExchangeFactory()
Returns MessageExchangeFactory Delegates call to DeliveryChannel . |
MessageExchangeFactory |
createExchangeFactory(javax.xml.namespace.QName interfaceName)
Returns MessageExchangeFactory for a given interface. |
MessageExchangeFactory |
createExchangeFactory(ServiceEndpoint endpoint)
Returns MessageExchangeFactory for given ServiceEndpoint Delegates call to DeliveryChannel . |
MessageExchangeFactory |
createExchangeFactoryForService(javax.xml.namespace.QName serviceName)
Returns MessageExchangeFactory for given service name. |
FaultMessage |
createFaultMessage(org.w3c.dom.Node payload,
javax.xml.namespace.QName faultMsgType)
Utility method to construct FaultMessage. |
FaultMessage |
createFaultMessage(javax.xml.transform.Source payload,
javax.xml.namespace.QName faultMsgType)
Utility method to construct FaultMessage. |
FaultMessage |
createFaultMessage(java.lang.String payload,
javax.xml.namespace.QName faultMsgType)
Utility method to construct FaultMessage. |
Consumer |
getConsumer()
Gets the new Consumer instance. |
Consumer |
getConsumer(ServiceEndpoint se,
javax.xml.namespace.QName oper,
javax.xml.namespace.QName inpt)
Gets the new Consumer instance. |
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(ServiceEndpoint endpoint)
Retrieve the service description metadata for the specified endpoint. Delegates call to ComponentContext . |
ServiceEndpoint[] |
getEndpoints(javax.xml.namespace.QName interfaceName)
Queries the NMR for active endpoints that implement the given interface. Delegates call to ComponentContext . |
ServiceEndpoint[] |
getEndpointsForService(javax.xml.namespace.QName serviceName)
Queries the NMR for active endpoints belonging to the given service. Delegates call to ComponentContext . |
ServiceEndpoint[] |
getExternalEndpoints(javax.xml.namespace.QName interfaceName)
Queries the NMR for external endpoints that implement the given interface name. Delegates call to ComponentContext . |
ServiceEndpoint[] |
getExternalEndpointsForService(javax.xml.namespace.QName serviceName)
Queries the NMR for external endpoints that are part of the given service. |
MessageExchange |
getMessageExchange()
Returns MessageExchange associated with this POJO's Provisioning Service. |
javax.naming.InitialContext |
getNamingContext()
Returns intsnace of InitialContext or null. |
ServiceEndpoint |
resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
Resolve the given endpoint reference into a service endpoint. |
Method Detail |
---|
ServiceEndpoint getEndpoint(javax.xml.namespace.QName serviceName, java.lang.String endpoint)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIorg.w3c.dom.Document getEndpointDescriptor(ServiceEndpoint endpoint) throws JBIException
ComponentContext
.
JBIException
ComponentContext
,
JBI 1.0 APIServiceEndpoint[] getEndpoints(javax.xml.namespace.QName interfaceName)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIServiceEndpoint[] getEndpointsForService(javax.xml.namespace.QName serviceName)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIServiceEndpoint[] getExternalEndpoints(javax.xml.namespace.QName interfaceName)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIServiceEndpoint[] getExternalEndpointsForService(javax.xml.namespace.QName serviceName)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIServiceEndpoint resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
ComponentContext
.
ComponentContext
,
JBI 1.0 APIMessageExchangeFactory createExchangeFactory()
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIMessageExchangeFactory createExchangeFactory(javax.xml.namespace.QName interfaceName)
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIMessageExchangeFactory createExchangeFactory(ServiceEndpoint endpoint)
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIMessageExchangeFactory createExchangeFactoryForService(javax.xml.namespace.QName serviceName)
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIMessageExchange getMessageExchange()
DeliveryChannel
.
DeliveryChannel
,
JBI 1.0 APIjavax.naming.InitialContext getNamingContext()
ComponentContext
.
Consumer getConsumer(ServiceEndpoint se, javax.xml.namespace.QName oper, javax.xml.namespace.QName inpt)
se
- ServiceEndpointoper
- QName of the operationinpt
- QName of the input
Consumer getConsumer()
FaultMessage createFaultMessage(java.lang.String payload, javax.xml.namespace.QName faultMsgType)
payload
- faultMsgType
-
FaultMessage createFaultMessage(org.w3c.dom.Node payload, javax.xml.namespace.QName faultMsgType)
payload
- faultMsgType
-
FaultMessage createFaultMessage(javax.xml.transform.Source payload, javax.xml.namespace.QName faultMsgType)
payload
- faultMsgType
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |