|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wiley.posa3.resourcelifecyclemanager.ResourceGroup
The ResourceGroup associates two or more resources with each other.
| Constructor Summary | |
ResourceGroup(java.lang.String id)
Constructor. |
|
| Method Summary | |
void |
add(ManagedResource resource,
ResourceType type)
Add a managed resource to the group. |
java.lang.String |
getID()
Get the id of the group |
java.util.Iterator |
iterator()
Return an iterator over the collection of resources that this group holds |
void |
release()
Release all the resources contained in this group |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResourceGroup(java.lang.String id)
id - the id of the group| Method Detail |
public java.lang.String getID()
public void add(ManagedResource resource,
ResourceType type)
resource - the managed resource to add to the group.type - the type of the resource.public java.util.Iterator iterator()
public void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||