|
||||||||||
| 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()
|
|
| 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 |
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)
|
abstract int |
getWeight()
the weight of the deployer, used for ordering the order that deployers are deployed. |
void |
redeploy(java.net.URL url)
Redeploys a URL if changed |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.messaging.core.deployers.Deployer |
|---|
getConfigFileName |
| Field Detail |
|---|
protected static final java.lang.String NAME_ATTR
| Constructor Detail |
|---|
public XmlDeployer()
| 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 Deployerurl - The resource to redeploy
java.lang.Exception - .
public void undeploy(java.net.URL url)
throws java.lang.Exception
undeploy in interface Deployerurl - The Resource that was deleted
java.lang.Exception - .
public void deploy(java.net.URL url)
throws java.lang.Exception
deploy in interface Deployerurl - The resource todeploy
java.lang.Exception - .public java.lang.String getKeyAttribute()
public void start()
throws java.lang.Exception
start in interface MessagingComponentjava.lang.Exception
public void stop()
throws java.lang.Exception
stop in interface MessagingComponentjava.lang.Exceptionpublic abstract java.lang.String[] getElementTagName()
public abstract void deploy(org.w3c.dom.Node node)
throws java.lang.Exception
node - the element to deploy
java.lang.Exception - .
public abstract void undeploy(org.w3c.dom.Node node)
throws java.lang.Exception
node - the element to undeploy
java.lang.Exception - .public abstract int getWeight()
Deployer
getWeight in interface Deployer
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 | |||||||||