org.jboss.messaging.core.deployers.impl
Class BasicUserCredentialsDeployer

java.lang.Object
  extended by org.jboss.messaging.core.deployers.impl.XmlDeployer
      extended by org.jboss.messaging.core.deployers.impl.BasicUserCredentialsDeployer
All Implemented Interfaces:
Deployer, MessagingComponent

public class BasicUserCredentialsDeployer
extends XmlDeployer

deployer for adding security loaded from the file "jbm-users.xml"

Author:
Andy Taylor

Field Summary
 
Fields inherited from class org.jboss.messaging.core.deployers.impl.XmlDeployer
NAME_ATTR
 
Constructor Summary
BasicUserCredentialsDeployer(DeploymentManager deploymentManager, JBMSecurityManager jbmSecurityManager)
           
 
Method Summary
 void deploy(org.w3c.dom.Node node)
          deploy an element
 java.lang.String[] getDefaultConfigFileNames()
           
 java.lang.String[] getElementTagName()
          the names of the elements to deploy
 void undeploy(org.w3c.dom.Node node)
          undeploys an element
 void validate(org.w3c.dom.Node rootNode)
          Validate the DOM
 
Methods inherited from class org.jboss.messaging.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
 

Constructor Detail

BasicUserCredentialsDeployer

public BasicUserCredentialsDeployer(DeploymentManager deploymentManager,
                                    JBMSecurityManager jbmSecurityManager)
Method Detail

getElementTagName

public java.lang.String[] getElementTagName()
Description copied from class: XmlDeployer
the names of the elements to deploy

Specified by:
getElementTagName in class XmlDeployer
Returns:
the names of the elements todeploy

validate

public void validate(org.w3c.dom.Node rootNode)
              throws java.lang.Exception
Description copied from class: XmlDeployer
Validate the DOM

Specified by:
validate in class XmlDeployer
Throws:
java.lang.Exception

deploy

public void deploy(org.w3c.dom.Node node)
            throws java.lang.Exception
Description copied from class: XmlDeployer
deploy an element

Specified by:
deploy in class XmlDeployer
Parameters:
node - the element to deploy
Throws:
java.lang.Exception - .

undeploy

public void undeploy(org.w3c.dom.Node node)
              throws java.lang.Exception
Description copied from class: XmlDeployer
undeploys an element

Specified by:
undeploy in class XmlDeployer
Parameters:
node - the element to undeploy
Throws:
java.lang.Exception - .

getDefaultConfigFileNames

public java.lang.String[] getDefaultConfigFileNames()
Specified by:
getDefaultConfigFileNames in class XmlDeployer


Copyright © 2006 JBoss Inc. All Rights Reserved.