|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.activation.impl.DefaultRuntimeFactory
A factory enabling the establishment of runtime handlers.
Constructor Summary | |
DefaultRuntimeFactory(SystemContext system)
|
Method Summary | |
LifestyleFactory |
buildLifestyleFactory(InitialContext context,
Class clazz)
Build a lifestyle factory using a supplied class. |
Appliance |
getRuntime(DeploymentModel model)
Resolve a runtime handler for a model. |
protected Appliance |
newComponentRuntime(ComponentModel model,
LifestyleManager manager)
Resolve a runtime handler for a component model. |
protected Appliance |
newContainmentRuntime(ContainmentModel model)
Resolve a runtime handler for a containment model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultRuntimeFactory(SystemContext system)
Method Detail |
public LifestyleFactory buildLifestyleFactory(InitialContext context, Class clazz) throws RuntimeFactoryException
clazz
- the log target factory class
RuntimeFactoryException
- if the class does not expose a public
constructor, or the constructor requires arguments that the
builder cannot resolve, or if a unexpected instantiation error
ooccurspublic Appliance getRuntime(DeploymentModel model)
getRuntime
in interface RuntimeFactory
model
- the deployment model
protected Appliance newComponentRuntime(ComponentModel model, LifestyleManager manager)
model
- the containment model
protected Appliance newContainmentRuntime(ContainmentModel model) throws ApplianceRuntimeException
model
- the containment model
ApplianceRuntimeException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |