|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.nanocontainer.nanowar.chain.ContainerChain
Represents chain of containers, which can be started and stopped at once.
| Constructor Summary | |
ContainerChain()
|
|
| Method Summary | |
void |
addContainer(org.picocontainer.PicoContainer container)
add new container to the end of chain. |
org.picocontainer.PicoContainer |
getLast()
Returns last container in chain. |
void |
start()
start each container in the chain |
void |
stop()
stop each container in the chain |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContainerChain()
| Method Detail |
public org.picocontainer.PicoContainer getLast()
public void addContainer(org.picocontainer.PicoContainer container)
container - public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||