|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.bpel.engine.SharedEndpoints
public class SharedEndpoints
An in-memory map from the endpoints provided by various processes in the server to their corresponding endpoint references.
Constructor Summary | |
---|---|
SharedEndpoints()
Creates a new SharedEndpoints object. |
Method Summary | |
---|---|
void |
addEndpoint(Endpoint endpoint,
EndpointReference epr)
Add an endpoint along with its corresponding EPR |
boolean |
decrementReferenceCount(Endpoint endpoint)
Decrement the number of BPEL processes who provide a service specifically at this endpoint. |
EndpointReference |
getEndpointReference(Endpoint endpoint)
Get the EPR for an endpoint |
void |
incrementReferenceCount(Endpoint endpoint)
Increment the number of BPEL processes who provide a service specifically at this endpoint. |
void |
init()
This is called when the server is initializing |
void |
removeEndpoint(Endpoint endpoint)
Remove an endpoint along with its EPR This is called when there are no more references to this endpoint from any BPEL process (which provides a service at this endpoint) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SharedEndpoints()
Method Detail |
---|
public void init()
public void addEndpoint(Endpoint endpoint, EndpointReference epr)
endpoint
- endpointepr
- eprpublic void removeEndpoint(Endpoint endpoint)
endpoint
- endpointpublic EndpointReference getEndpointReference(Endpoint endpoint)
endpoint
- endpoint
public void incrementReferenceCount(Endpoint endpoint)
endpoint
- endpointpublic boolean decrementReferenceCount(Endpoint endpoint)
endpoint
- endpoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |