|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PassportInterface
Passport interface. The passport is used to track the travels of another object in order to provide a mechanism to enable/disable access based upon whether or not the object has already visited a particular destination.
Method Summary | |
---|---|
void |
addId(java.lang.String discoveryServiceId)
Stamps the discovery passport with the ID of a discovery service which has processed this service request template. |
void |
clear()
Clears the passport by removing all previously added IDs. |
boolean |
containsId(java.lang.String discoveryServiceId)
Determines whether or not the ID exists in the passport. |
boolean |
containsId(java.lang.String discoveryServiceId,
boolean stampPassport)
Determines whether or not the specified discovery service has already processed this service request. |
void |
removeId(java.lang.String discoveryServiceId)
Removes an ID from the passport. |
Method Detail |
---|
void clear()
boolean containsId(java.lang.String discoveryServiceId)
discoveryServiceId
- The ID that may exist in the passport.
true
if the ID was already in the passport.boolean containsId(java.lang.String discoveryServiceId, boolean stampPassport)
discoveryServiceId
- The ID that may exist in the passport.stampPassport
- true
if the passport should be
stamped with the ID if its not currently in the passport.
true
if the ID was already in the passport.void addId(java.lang.String discoveryServiceId)
discoveryServiceId
- The ID to add to the passport.void removeId(java.lang.String discoveryServiceId)
discoveryServiceId
- The ID to remove from the passport.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |