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