|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.spi.extension.LoaderExtension<T>
public abstract class LoaderExtension<T extends ModelObject>
Support class for extending the Loader mechanism.
Field Summary | |
---|---|
protected LoaderRegistry |
registry
The LoaderRegistry that this loader should register with; usually set by injection. |
Constructor Summary | |
---|---|
protected |
LoaderExtension(LoaderRegistry registry)
Constructor specifies the registry to register with. |
Method Summary | |
---|---|
abstract QName |
getXMLType()
Returns the QName of the element that this implementation handles. |
void |
start()
Initialize the loader. |
void |
stop()
Destroy the loader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tuscany.spi.loader.StAXElementLoader |
---|
load |
Field Detail |
---|
protected LoaderRegistry registry
Constructor Detail |
---|
protected LoaderExtension(LoaderRegistry registry)
registry
- the LoaderRegistry this loader should register withMethod Detail |
---|
public void start()
getXMLType()
. Implementations may override this to register the loader as a handler for
multiple XML types.
public void stop()
getXMLType()
.
public abstract QName getXMLType()
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |