| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContainerInterface
| Method Summary | |
|---|---|
 void | 
delete(java.lang.String name)
Remove a child resource from that container.  | 
 java.util.Enumeration | 
enumerateResourceIdentifiers(boolean all)
Enumerate children resource identifiers.  | 
 ResourceReference | 
lookup(java.lang.String name)
Lookup a children in the container.  | 
 void | 
registerResource(java.lang.String name,
                 Resource resource,
                 java.util.Hashtable defs)
Initialize and register the given resource within that container.  | 
| Method Detail | 
|---|
java.util.Enumeration enumerateResourceIdentifiers(boolean all)
all - Should all resources be enumerated ? Resources are often
 created on demand only, this flag allows the caller to tell the 
 container about wether it is interested only in already created
 resources, or in all resources (even the one that have not yet been
 created).
ResourceReference lookup(java.lang.String name)
name - The name of the children to lookup.
 the resource from its store.
void delete(java.lang.String name)
            throws MultipleLockException
name - The name of the child to remove.
MultipleLockException - If somone else has locked the 
 resource.
void registerResource(java.lang.String name,
                      Resource resource,
                      java.util.Hashtable defs)
                      throws InvalidResourceException
name - The identifier for the resource.resource - An unitialized resource instance.defs - A default set of init attribute values (may be
 null).
InvalidResourceException - If an error occurs during the
 registration.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||