|
|||||||||
| 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(org.apache.ode.bpel.iapi.Endpoint endpoint,
org.apache.ode.bpel.iapi.EndpointReference epr)
Add an endpoint along with its corresponding EPR |
boolean |
decrementReferenceCount(org.apache.ode.bpel.iapi.Endpoint endpoint)
Decrement the number of BPEL processes who provide a service specifically at this endpoint. |
org.apache.ode.bpel.iapi.EndpointReference |
getEndpointReference(org.apache.ode.bpel.iapi.Endpoint endpoint)
Get the EPR for an endpoint |
int |
getReferenceCount(org.apache.ode.bpel.iapi.EndpointReference epr)
|
void |
incrementReferenceCount(org.apache.ode.bpel.iapi.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(org.apache.ode.bpel.iapi.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(org.apache.ode.bpel.iapi.Endpoint endpoint,
org.apache.ode.bpel.iapi.EndpointReference epr)
endpoint - endpointepr - eprpublic void removeEndpoint(org.apache.ode.bpel.iapi.Endpoint endpoint)
endpoint - endpointpublic org.apache.ode.bpel.iapi.EndpointReference getEndpointReference(org.apache.ode.bpel.iapi.Endpoint endpoint)
endpoint - endpoint
public void incrementReferenceCount(org.apache.ode.bpel.iapi.Endpoint endpoint)
endpoint - endpointpublic boolean decrementReferenceCount(org.apache.ode.bpel.iapi.Endpoint endpoint)
endpoint - endpoint
public int getReferenceCount(org.apache.ode.bpel.iapi.EndpointReference epr)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||