wt.services.ac
Interface ACRequestor

All Known Implementing Classes:
DefaultWTRequestor, TypeBasedRequestor

public interface ACRequestor

This interface can serve as a mediary between a group of objects (Java collections or otherwise) such that delegation can occur without converting it to an Object[]. This is especially useful for WTCollections, as it allows the delegate mechanism itself to return connected WTSets as values.

Supported API: false

Extendable: false


Method Summary
 Object[] getRequestors()
          Returns the requestors represented by the internal data of this ACRequestor.
 Set getSet(Object[] requestors)
          Returns a set of the objects contained in this ACRequestor by requestor type (the "requestor type" is one of the values returned by getRequestors().
 

Method Detail

getRequestors

public Object[] getRequestors()
Returns the requestors represented by the internal data of this ACRequestor. If the ACRequestor contains multiple objects that would be guaranteed to share the same service, it can return a single requestor for those objects (a natural example would be multiple instances of the same Java class).

Supported API: false

Returns:
Object[]

getSet

public Set getSet(Object[] requestors)
Returns a set of the objects contained in this ACRequestor by requestor type (the "requestor type" is one of the values returned by getRequestors().

Supported API: false

Parameters:
requestors - The requestors for which matching objects are needed
Returns:
Set