|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.core.deployers.impl.XmlDeployer
public abstract class XmlDeployer
Field Summary | |
---|---|
protected static java.lang.String |
NAME_ATTR
|
Constructor Summary | |
---|---|
XmlDeployer(DeploymentManager deploymentManager)
|
Method Summary | |
---|---|
void |
addToConfiguration(java.net.URL url,
java.lang.String name,
org.w3c.dom.Node e)
adds a URL to the already configured set of url's this deployer is handling |
abstract void |
deploy(org.w3c.dom.Node node)
deploy an element |
void |
deploy(java.net.URL url)
Deploy the URL for the first time |
java.lang.String[] |
getConfigFileNames()
The name of the configuration files to look for for deployment |
abstract java.lang.String[] |
getDefaultConfigFileNames()
|
abstract java.lang.String[] |
getElementTagName()
the names of the elements to deploy |
java.lang.String |
getKeyAttribute()
the key attribute for theelement, usually 'name' but can be overridden |
protected org.w3c.dom.Element |
getRootElement(java.net.URL url)
|
boolean |
isStarted()
|
void |
redeploy(java.net.URL url)
Redeploys a URL if changed |
void |
setConfigFileNames(java.lang.String[] configFileNames)
|
void |
start()
|
void |
stop()
|
abstract void |
undeploy(org.w3c.dom.Node node)
undeploys an element |
void |
undeploy(java.net.URL url)
Undeploys a resource that has been removed |
abstract void |
validate(org.w3c.dom.Node rootNode)
Validate the DOM |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String NAME_ATTR
Constructor Detail |
---|
public XmlDeployer(DeploymentManager deploymentManager)
Method Detail |
---|
public void addToConfiguration(java.net.URL url, java.lang.String name, org.w3c.dom.Node e)
url
- The URL to addname
- the name of the elemente
- .public void redeploy(java.net.URL url) throws java.lang.Exception
redeploy
in interface Deployer
url
- The resource to redeploy
java.lang.Exception
- .public void undeploy(java.net.URL url) throws java.lang.Exception
undeploy
in interface Deployer
url
- The Resource that was deleted
java.lang.Exception
- .public void deploy(java.net.URL url) throws java.lang.Exception
deploy
in interface Deployer
url
- The resource todeploy
java.lang.Exception
- .public java.lang.String getKeyAttribute()
public void start() throws java.lang.Exception
start
in interface MessagingComponent
java.lang.Exception
public void stop() throws java.lang.Exception
stop
in interface MessagingComponent
java.lang.Exception
public boolean isStarted()
isStarted
in interface MessagingComponent
public java.lang.String[] getConfigFileNames()
Deployer
getConfigFileNames
in interface Deployer
public void setConfigFileNames(java.lang.String[] configFileNames)
public abstract java.lang.String[] getElementTagName()
public abstract java.lang.String[] getDefaultConfigFileNames()
public abstract void deploy(org.w3c.dom.Node node) throws java.lang.Exception
node
- the element to deploy
java.lang.Exception
- .public abstract void validate(org.w3c.dom.Node rootNode) throws java.lang.Exception
java.lang.Exception
public abstract void undeploy(org.w3c.dom.Node node) throws java.lang.Exception
node
- the element to undeploy
java.lang.Exception
- .protected org.w3c.dom.Element getRootElement(java.net.URL url) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |