|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--org.apache.cocoon.framework.Manager
This class is used to create and control software actors and resources.
| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
| Constructor Summary | |
Manager()
|
|
| Method Summary | |
java.lang.Object |
create(java.lang.String name)
Create the instance of a class given its name. |
java.lang.Object |
create(java.lang.String name,
Configurations conf)
Create the instance of a class and, if configurable, use the given configurations to configure it. |
java.util.Vector |
create(java.util.Vector names)
Create a vector of instances. |
java.util.Vector |
create(java.util.Vector names,
Configurations conf)
Create a vector of instances with given configurations. |
void |
destroy()
|
void |
destroyAll()
Calls destroy() on all components that are instances of DestroyListener |
java.lang.Object |
getActor(java.lang.String role)
Get the actor currently playing the given role. |
java.util.Enumeration |
getRoles()
Get the roles currently set. |
void |
init(Director director)
Initialize the actor by indicating their director. |
void |
setRole(java.lang.String role,
java.lang.Object actor)
Set the actor for the role. |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Manager()
| Method Detail |
public void init(Director director)
init in interface Actorpublic java.lang.Object create(java.lang.String name)
create in interface Factory
public java.lang.Object create(java.lang.String name,
Configurations conf)
throws java.lang.RuntimeException
create in interface Factorypublic java.util.Vector create(java.util.Vector names)
create in interface Factory
public java.util.Vector create(java.util.Vector names,
Configurations conf)
create in interface Factorypublic void destroy()
destroy in interface DestroyListenerpublic void destroyAll()
public java.lang.Object getActor(java.lang.String role)
getActor in interface Director
public void setRole(java.lang.String role,
java.lang.Object actor)
setRole in interface Directorpublic java.util.Enumeration getRoles()
getRoles in interface Director
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||