|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.deployme.extension.AbstractDeploymeExtension
public abstract class AbstractDeploymeExtension
Abstract deployme extension
| Field Summary | |
|---|---|
static String |
EOL
EOL |
protected Class |
rootClass
Root class |
protected List<URL> |
xsdUrls
XSD URL |
| Constructor Summary | |
|---|---|
protected |
AbstractDeploymeExtension()
Default constructor |
| Method Summary | |
|---|---|
Object |
convert(Node localNode,
Class rootClass,
ClassLoader classLoader)
|
String |
getNamespace()
|
protected Source |
getSource(URL url)
|
protected List<Source> |
getSources(List<URL> urls)
|
protected List<Source> |
getXsdSources(List<String> resources)
|
protected List<URL> |
getXsdURL(List<String> resources)
|
protected URL |
getXsdURL(String resource)
|
protected URL |
getXsdURL(String resource,
Class clazz)
|
protected Object |
unmarshall(Node node,
Class<?> rootClass,
List<Source> xsdSources,
ClassLoader classLoader)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ow2.jasmine.deployme.api.extensions.IDeploymeExtension |
|---|
applyConfiguration, convert, getJOnASService |
| Field Detail |
|---|
public static final String EOL
protected List<URL> xsdUrls
protected Class rootClass
| Constructor Detail |
|---|
protected AbstractDeploymeExtension()
| Method Detail |
|---|
protected List<Source> getXsdSources(List<String> resources)
throws DeploymeExtensionException
DeploymeExtensionException
protected List<URL> getXsdURL(List<String> resources)
throws DeploymeExtensionException
resources - List of resources
DeploymeExtensionException
protected URL getXsdURL(String resource)
throws DeploymeExtensionException
resource - Resource
DeploymeExtensionException
protected URL getXsdURL(String resource,
Class clazz)
throws DeploymeExtensionException
resource - The resource to retrieveclazz - A Class associated to the given resource (they should share the same classloader)
DeploymeExtensionException
protected Source getSource(URL url)
throws DeploymeExtensionException
url - The URL
Source associated to the given URL
DeploymeExtensionException
protected List<Source> getSources(List<URL> urls)
throws DeploymeExtensionException
urls - List of URL
Source associated to the list of url
DeploymeExtensionException
protected Object unmarshall(Node node,
Class<?> rootClass,
List<Source> xsdSources,
ClassLoader classLoader)
throws DeploymeExtensionException
node - The node to unmarshallrootClass - The root class of the nodexsdSources - XSD sourcesclassLoader - The classloader of the extension
{@link - org.ow2.jasmine.deployme.api.extensions.DeploymeExtensionException} if unmarshall operation has failed
DeploymeExtensionExceptionpublic String getNamespace()
getNamespace in interface IDeploymeExtension
public Object convert(Node localNode,
Class rootClass,
ClassLoader classLoader)
throws DeploymeExtensionException
localNode - The node to unmarshallrootClass - The root class of a nodeclassLoader - The classloader of the extension
DeploymeExtensionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||