public class OdeComponent
extends java.lang.Object
implements javax.jbi.component.Component
Component interface.| Constructor and Description |
|---|
OdeComponent() |
OdeComponent(OdeLifeCycle lifeCycle) |
| Modifier and Type | Method and Description |
|---|---|
javax.jbi.component.ComponentLifeCycle |
getLifeCycle() |
org.w3c.dom.Document |
getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint ref) |
javax.jbi.component.ServiceUnitManager |
getServiceUnitManager() |
boolean |
isExchangeWithConsumerOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint,
javax.jbi.messaging.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(javax.jbi.servicedesc.ServiceEndpoint endpoint,
javax.jbi.messaging.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 the provider completely.
|
javax.jbi.servicedesc.ServiceEndpoint |
resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
Resolve the given endpoint reference, given the capabilities of the given
consumer.
|
public OdeComponent()
public OdeComponent(OdeLifeCycle lifeCycle)
public javax.jbi.component.ComponentLifeCycle getLifeCycle()
getLifeCycle in interface javax.jbi.component.Componentpublic javax.jbi.component.ServiceUnitManager getServiceUnitManager()
getServiceUnitManager in interface javax.jbi.component.Componentpublic org.w3c.dom.Document getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint ref)
getServiceDescription in interface javax.jbi.component.Componentref - ServiceEndpoint objectjavax.jbi.servicedesc.Descriptor interface.public boolean isExchangeWithConsumerOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange)
isExchangeWithConsumerOkay in interface javax.jbi.component.Componentendpoint - the endpoint to be used by the consumerexchange - the proposed message exchange to be performedpublic boolean isExchangeWithProviderOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange)
isExchangeWithProviderOkay in interface javax.jbi.component.Componentexchange - the proposed message exchange to be performedpublic javax.jbi.servicedesc.ServiceEndpoint resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
resolveEndpointReference in interface javax.jbi.component.Componentepr - the endpoint reference, in some XML dialect understood by the
appropriate component (usually a Binding Component).null
if the endpoint reference cannot be resolved.