|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.activation.impl.DefaultRuntime
Implementation of a system context that exposes a system wide set of parameters.
Constructor Summary | |
DefaultRuntime(SystemContext system)
Creation of a new system context. |
Method Summary | |
void |
commission(DeploymentModel model)
Request the commissioning of a runtime for a supplied deployment model. |
void |
decommission(DeploymentModel model)
Request the decommissioning of a runtime for a supplied deployment model. |
void |
release(DeploymentModel model,
Object instance)
Request the release of an object from the runtime. |
Object |
resolve(DeploymentModel model)
Request resolution of an object from the runtime. |
Object |
resolve(DeploymentModel model,
boolean proxy)
Request resolution of an object from the runtime. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultRuntime(SystemContext system)
system
- the system contextMethod Detail |
public void commission(DeploymentModel model) throws Exception
commission
in interface Runtime
model
- the deployment model
Exception
- of a commissioning error occurspublic void decommission(DeploymentModel model)
decommission
in interface Runtime
model
- the deployment model
Exception
- of a commissioning error occurspublic Object resolve(DeploymentModel model) throws Exception
resolve
in interface Runtime
model
- the deployment model
Exception
- if a deployment error occurspublic Object resolve(DeploymentModel model, boolean proxy) throws Exception
resolve
in interface Runtime
model
- the deployment modelproxy
- if TRUE the return value will be proxied if the
underlying component typoe suppports proxy representation
Exception
- if a deployment error occurspublic void release(DeploymentModel model, Object instance)
release
in interface Runtime
model
- the deployment modelinstance
- the object to release
Exception
- if a deployment error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |