|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.activation.impl.AbstractAppliance
org.apache.avalon.activation.impl.DefaultAppliance
Abstract appliance.
Constructor Summary | |
DefaultAppliance(ComponentModel model,
LifestyleManager lifestyle,
boolean secure)
|
Method Summary | |
void |
commission()
Commission the appliance. |
void |
decommission()
Decommission the appliance. |
protected ComponentModel |
getComponentModel()
Return the model backing the handler. |
void |
release(Object instance)
Release an object |
Object |
resolve()
Resolve a object to a value. |
Object |
resolve(boolean proxy)
Request resolution of an object from the runtime. |
String |
toString()
|
Methods inherited from class org.apache.avalon.activation.impl.AbstractAppliance |
getDeploymentModel, getLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultAppliance(ComponentModel model, LifestyleManager lifestyle, boolean secure)
Method Detail |
public void commission() throws Exception
commission
in interface Commissionable
commission
in class AbstractAppliance
Exception
- if a commissioning error occurspublic void decommission()
decommission
in interface Commissionable
decommission
in class AbstractAppliance
public Object resolve() throws Exception
resolve
in interface Resolver
resolve
in class AbstractAppliance
Exception
- if an error occurspublic Object resolve(boolean proxy) throws Exception
AbstractAppliance
resolve
in interface Resolver
resolve
in class AbstractAppliance
proxy
- if TRUE the return value will be proxied if the
underlying component typoe suppports proxy representation
Exception
- if a deployment error occurspublic void release(Object instance)
release
in interface Resolver
release
in class AbstractAppliance
instance
- the object to be releasedprotected ComponentModel getComponentModel()
public String toString()
toString
in class AbstractAppliance
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |