public class SharedEndpoints
extends java.lang.Object
Constructor and Description |
---|
SharedEndpoints()
Creates a new SharedEndpoints object.
|
Modifier and Type | Method and Description |
---|---|
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
|
int |
getReferenceCount(EndpointReference epr) |
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)
|
public void init()
public void addEndpoint(Endpoint endpoint, EndpointReference epr)
endpoint
- endpointepr
- eprpublic void removeEndpoint(Endpoint endpoint)
endpoint
- endpointpublic EndpointReference getEndpointReference(Endpoint endpoint)
endpoint
- endpointpublic void incrementReferenceCount(Endpoint endpoint)
endpoint
- endpointpublic boolean decrementReferenceCount(Endpoint endpoint)
endpoint
- endpointpublic int getReferenceCount(EndpointReference epr)