|
||||||||||
| 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 String |
NAMESPACE
Constant XSD namespace value. |
| Constructor Summary | |
|---|---|
ComponentStrategyHandler()
|
|
| Method Summary | |
|---|---|
Strategy |
build(ClassLoader classloader,
Element element,
Resolver resolver,
String partition,
String query,
boolean validate)
Construct a strategy definition using a supplied element and value resolver. |
Component |
newComponent(Class<?> c,
String name)
Creation of a new component strategy handler for a supplied class. |
Strategy |
newStrategy(Class<?> c)
Creation of a new component strategy handler for a supplied class. |
Strategy |
newStrategy(Class<?> c,
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 String NAMESPACE
| Constructor Detail |
|---|
public ComponentStrategyHandler()
| Method Detail |
|---|
public Strategy newStrategy(Class<?> c)
throws IOException
newStrategy in interface StrategyHandlerc - the implementation class
IOException - if an error occurs in strategy creation
public Strategy newStrategy(Class<?> c,
String name)
throws IOException
newStrategy in interface StrategyHandlerc - the implementation classname - the strategy instance name
IOException - if an error occurs in strategy creation
public Component newComponent(Class<?> c,
String name)
throws IOException
c - the implementation classname - the strategy instance name
IOException - if an error occurs in strategy creation
public Strategy build(ClassLoader classloader,
Element element,
Resolver resolver,
String partition,
String query,
boolean validate)
throws IOException
build in interface StrategyHandlerclassloader - 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
IOException - if an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||