|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Component
This interface, implemented by component implementations, allows the JBI implementation to query the component for various types of information. This includes:
Method Summary | |
---|---|
ComponentLifeCycle |
getLifeCycle()
Get the life cycle control interface for this component. |
Document |
getServiceDescription(ServiceEndpoint endpoint)
Retrieves a DOM representation containing metadata which describes the service provided by this component, through the given endpoint. |
ServiceUnitManager |
getServiceUnitManager()
Get the Service Unit manager for this component. |
boolean |
isExchangeWithConsumerOkay(ServiceEndpoint endpoint,
MessageExchange exchange)
This method is called by JBI to check if this component, in the role of provider of the service indicated by the given exchange, can actually perform the operation desired. |
boolean |
isExchangeWithProviderOkay(ServiceEndpoint endpoint,
MessageExchange exchange)
This method is called by JBI to check if this component, in the role of consumer of the service indicated by the given exchange, can actually interact with the provider properly. |
ServiceEndpoint |
resolveEndpointReference(DocumentFragment epr)
Resolve the given endpoint reference. |
Method Detail |
---|
ComponentLifeCycle getLifeCycle()
ServiceUnitManager getServiceUnitManager()
Document getServiceDescription(ServiceEndpoint endpoint)
endpoint
- the service endpoint.
boolean isExchangeWithConsumerOkay(ServiceEndpoint endpoint, MessageExchange exchange)
endpoint
- the endpoint to be used by the consumer; must be non-null.exchange
- the proposed message exchange to be performed; must be non-null.
boolean isExchangeWithProviderOkay(ServiceEndpoint endpoint, MessageExchange exchange)
endpoint
- the endpoint to be used by the provider; must be non-null.exchange
- the proposed message exchange to be performed; must be non-null.
ServiceEndpoint resolveEndpointReference(DocumentFragment epr)
ComponentContext.activateEndpoint(javax.xml.namespace.QName, String)
),
nor registered (see ComponentContext
) by components. They can only be used to address
message exchanges; the JBI implementation must deliver such exchanges to the component that
resolved the endpoint reference (see
ComponentContext.resolveEndpointReference(org.w3c.dom.DocumentFragment)
).
epr
- the endpoint reference, in some XML dialect understood by the appropriate component
(usually a binding); must be non-null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |