|
|||||||||||
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.TransientLifestyleManager
Constructor Summary | |
TransientLifestyleManager(ComponentModel model,
ComponentFactory factory)
|
Method Summary | |
void |
commission()
Commission the appliance. |
void |
decommission()
Decommission the appliance. |
protected Reference |
getReference(Object instance)
Overriding getReference to ensure that we never return a hard reference for a transient. |
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, finalize, getComponentFactory, getComponentModel, getLogger, release, resolve, resolve |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransientLifestyleManager(ComponentModel model, ComponentFactory factory)
Method Detail |
public void commission() throws Exception
commission
in interface Commissionable
commission
in class AbstractLifestyleManager
Exception
- if a 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 releasedprotected Reference getReference(Object instance)
getReference
in class AbstractLifestyleManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |