org.hornetq.jms.server.impl
Class JMSServerDeployer

java.lang.Object
  extended by org.hornetq.core.deployers.impl.XmlDeployer
      extended by org.hornetq.jms.server.impl.JMSServerDeployer
All Implemented Interfaces:
org.hornetq.core.deployers.Deployer, org.hornetq.core.server.HornetQComponent

public class JMSServerDeployer
extends org.hornetq.core.deployers.impl.XmlDeployer

Author:
Andy Taylor, Tim Fox, Jeff Mesnil

Field Summary
protected static String CONNECTION_FACTORY_NODE_NAME
           
protected static String CONNECTOR_REF_ELEMENT
           
protected static String CONNECTORS_NODE_NAME
           
protected static boolean DEFAULT_QUEUE_DURABILITY
           
protected static String DISCOVERY_GROUP_ELEMENT
           
protected static String ENTRIES_NODE_NAME
           
protected static String ENTRY_NODE_NAME
           
protected static String JMX_DOMAIN_NAME
           
protected static String QUEUE_NODE_NAME
           
protected static String QUEUE_SELECTOR_NODE_NAME
           
protected static String TOPIC_NODE_NAME
           
 
Fields inherited from class org.hornetq.core.deployers.impl.XmlDeployer
NAME_ATTR
 
Constructor Summary
JMSServerDeployer(JMSServerManager jmsServerManager, org.hornetq.core.deployers.DeploymentManager deploymentManager)
           
 
Method Summary
 void deploy(Node node)
          deploy an element
 String[] getDefaultConfigFileNames()
           
 String[] getElementTagName()
          the names of the elements to deploy
 void undeploy(Node node)
          Undeploys an element.
 void validate(Node rootNode)
           
 
Methods inherited from class org.hornetq.core.deployers.impl.XmlDeployer
addToConfiguration, deploy, getConfigFileNames, getKeyAttribute, getRootElement, isStarted, redeploy, setConfigFileNames, start, stop, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECTOR_REF_ELEMENT

protected static final String CONNECTOR_REF_ELEMENT
See Also:
Constant Field Values

DISCOVERY_GROUP_ELEMENT

protected static final String DISCOVERY_GROUP_ELEMENT
See Also:
Constant Field Values

ENTRIES_NODE_NAME

protected static final String ENTRIES_NODE_NAME
See Also:
Constant Field Values

ENTRY_NODE_NAME

protected static final String ENTRY_NODE_NAME
See Also:
Constant Field Values

CONNECTORS_NODE_NAME

protected static final String CONNECTORS_NODE_NAME
See Also:
Constant Field Values

CONNECTION_FACTORY_NODE_NAME

protected static final String CONNECTION_FACTORY_NODE_NAME
See Also:
Constant Field Values

QUEUE_NODE_NAME

protected static final String QUEUE_NODE_NAME
See Also:
Constant Field Values

QUEUE_SELECTOR_NODE_NAME

protected static final String QUEUE_SELECTOR_NODE_NAME
See Also:
Constant Field Values

TOPIC_NODE_NAME

protected static final String TOPIC_NODE_NAME
See Also:
Constant Field Values

JMX_DOMAIN_NAME

protected static final String JMX_DOMAIN_NAME
See Also:
Constant Field Values

DEFAULT_QUEUE_DURABILITY

protected static final boolean DEFAULT_QUEUE_DURABILITY
See Also:
Constant Field Values
Constructor Detail

JMSServerDeployer

public JMSServerDeployer(JMSServerManager jmsServerManager,
                         org.hornetq.core.deployers.DeploymentManager deploymentManager)
Method Detail

getElementTagName

public String[] getElementTagName()
the names of the elements to deploy

Specified by:
getElementTagName in class org.hornetq.core.deployers.impl.XmlDeployer
Returns:
the names of the elements todeploy

validate

public void validate(Node rootNode)
              throws Exception
Specified by:
validate in class org.hornetq.core.deployers.impl.XmlDeployer
Throws:
Exception

deploy

public void deploy(Node node)
            throws Exception
deploy an element

Specified by:
deploy in class org.hornetq.core.deployers.impl.XmlDeployer
Parameters:
node - the element to deploy
Throws:
Exception

undeploy

public void undeploy(Node node)
              throws Exception
Undeploys an element.

Specified by:
undeploy in class org.hornetq.core.deployers.impl.XmlDeployer
Parameters:
node - the element to undeploy
Throws:
Exception

getDefaultConfigFileNames

public String[] getDefaultConfigFileNames()
Specified by:
getDefaultConfigFileNames in class org.hornetq.core.deployers.impl.XmlDeployer


Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.