|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.dpml.runtime.ComponentStrategyHandler
public class ComponentStrategyHandler
Strategy handler for the component model.
Field Summary | |
---|---|
static java.lang.String |
NAMESPACE
Constant XSD namespace value. |
Constructor Summary | |
---|---|
ComponentStrategyHandler()
|
Method Summary | |
---|---|
Strategy |
build(java.lang.ClassLoader classloader,
org.w3c.dom.Element element,
Resolver resolver,
java.lang.String partition,
java.lang.String query,
boolean validate)
Construct a strategy definition using a supplied element and value resolver. |
Component |
newComponent(java.lang.Class<?> c,
java.lang.String name)
Creation of a new component strategy handler for a supplied class. |
Strategy |
newStrategy(java.lang.Class<?> c)
Creation of a new component strategy handler for a supplied class. |
Strategy |
newStrategy(java.lang.Class<?> c,
java.lang.String name)
Creation of a new component strategy handler for a supplied class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAMESPACE
Constructor Detail |
---|
public ComponentStrategyHandler()
Method Detail |
---|
public Strategy newStrategy(java.lang.Class<?> c) throws java.io.IOException
newStrategy
in interface StrategyHandler
c
- the implementation class
java.io.IOException
- if an error occurs in strategy creationpublic Strategy newStrategy(java.lang.Class<?> c, java.lang.String name) throws java.io.IOException
newStrategy
in interface StrategyHandler
c
- the implementation classname
- the strategy instance name
java.io.IOException
- if an error occurs in strategy creationpublic Component newComponent(java.lang.Class<?> c, java.lang.String name) throws java.io.IOException
c
- the implementation classname
- the strategy instance name
java.io.IOException
- if an error occurs in strategy creationpublic Strategy build(java.lang.ClassLoader classloader, org.w3c.dom.Element element, Resolver resolver, java.lang.String partition, java.lang.String query, boolean validate) throws java.io.IOException
build
in interface StrategyHandler
classloader
- the operational classloaderelement
- the DOM element definining the deployment strategyresolver
- symbolic property resolverpartition
- the enclosing partitionquery
- the query fragment to applied to the component context definitionvalidate
- the validation policy
java.io.IOException
- if an I/O error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |