|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.activation.impl.AbstractLifestyleManager
org.apache.avalon.activation.impl.SingletonLifestyleManager
Constructor Summary | |
SingletonLifestyleManager(ComponentModel model,
ComponentFactory factory)
|
Method Summary | |
void |
commission()
Commission the runtime handler. |
void |
decommission()
Invokes the decommissioning phase. |
void |
finalize(Object instance)
Release an object |
protected void |
handleRelease(Object instance)
Release an object |
protected Object |
handleResolve()
Resolve a object to a value relative to a supplied set of interface classes. |
Methods inherited from class org.apache.avalon.activation.impl.AbstractLifestyleManager |
finalize, getComponentFactory, getComponentModel, getLogger, getReference, release, resolve, resolve |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SingletonLifestyleManager(ComponentModel model, ComponentFactory factory)
Method Detail |
public void commission() throws Exception
commission
in interface Commissionable
commission
in class AbstractLifestyleManager
Exception
- if a hanfdler commissioning error occurspublic void decommission()
decommission
in interface Commissionable
decommission
in class AbstractLifestyleManager
protected Object handleResolve() throws Exception
handleResolve
in class AbstractLifestyleManager
Exception
- if an error occursprotected void handleRelease(Object instance)
handleRelease
in class AbstractLifestyleManager
instance
- the object to be releasedpublic void finalize(Object instance)
finalize
in interface LifestyleManager
finalize
in class AbstractLifestyleManager
instance
- the object to be released
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |