Methods Summary |
---|
public void | addResource(J2EEResource resource)Add a resource. This resource will replace any
existing one with the same type and name.
|
public java.util.Set | getAllResources()Get all the resources.
|
public J2EEResource | getResourceByName(int type, java.lang.String name)Direct-access resource lookup.
|
public java.util.Set | getResourcesByType(int type)Get all the resources of a given type.
|
public void | removeAllResourcesByType(int type)Remove all resources of the given type. After
this call getResourcesByType(type) should return
an empty set.
|
public boolean | removeResource(J2EEResource resource)Remove a resource.
|