|
|||||||||||
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.DefaultBlock
Composite appliance.
Constructor Summary | |
DefaultBlock(SystemContext system,
ContainmentModel model)
|
Method Summary | |
void |
commission()
Commission the appliance. |
void |
decommission()
Decommission the appliance. |
protected ContainmentModel |
getContainmentModel()
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)
Resolve a object to a value. |
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 DefaultBlock(SystemContext system, ContainmentModel model) throws ApplianceRuntimeException
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
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 an error occurspublic void release(Object instance)
release
in interface Resolver
release
in class AbstractAppliance
instance
- the object to be releasedprotected ContainmentModel getContainmentModel()
public String toString()
toString
in class AbstractAppliance
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |