|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.jbi.OdeComponent
public class OdeComponent
This class implements Component
interface.
Constructor Summary | |
---|---|
OdeComponent()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OdeComponent()
Method Detail |
---|
public javax.jbi.component.ComponentLifeCycle getLifeCycle()
getLifeCycle
in interface javax.jbi.component.Component
public javax.jbi.component.ServiceUnitManager getServiceUnitManager()
getServiceUnitManager
in interface javax.jbi.component.Component
public org.w3c.dom.Document getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint ref)
getServiceDescription
in interface javax.jbi.component.Component
ref
- ServiceEndpoint object
javax.jbi.servicedesc.Descriptor
interface.public boolean isExchangeWithConsumerOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint, javax.jbi.messaging.MessageExchange exchange)
isExchangeWithConsumerOkay
in interface javax.jbi.component.Component
endpoint
- the endpoint to be used by the consumerexchange
- the proposed message exchange to be performed
public boolean isExchangeWithProviderOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint, javax.jbi.messaging.MessageExchange exchange)
isExchangeWithProviderOkay
in interface javax.jbi.component.Component
exchange
- the proposed message exchange to be performed
public javax.jbi.servicedesc.ServiceEndpoint resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
resolveEndpointReference
in interface javax.jbi.component.Component
epr
- the endpoint reference, in some XML dialect understood by the
appropriate component (usually a Binding Component).
null
if the endpoint reference cannot be resolved.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |