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

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

public class SecurityManagerDeployer
extends XmlDeployer

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

Author:
Andy Taylor

Field Summary
 
Fields inherited from class org.jboss.messaging.core.deployers.impl.XmlDeployer
NAME_ATTR
 
Constructor Summary
SecurityManagerDeployer()
           
 
Method Summary
 void deploy(org.w3c.dom.Node node)
          deploy an element
 java.lang.String getConfigFileName()
          The name of the configuration file name to look for for deployment
 java.lang.String[] getElementTagName()
          the names of the elements to deploy
 int getWeight()
          the weight of the deployer, used for ordering the order that deployers are deployed.
 void setJbmSecurityManager(JBMUpdateableSecurityManager jbmSecurityManager)
           
 void setMessagingServer(MessagingServer messagingServer)
           
 void start()
           
 void stop()
           
 void undeploy(org.w3c.dom.Node node)
          undeploys an element
 
Methods inherited from class org.jboss.messaging.core.deployers.impl.XmlDeployer
addToConfiguration, deploy, getKeyAttribute, getRootElement, redeploy, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityManagerDeployer

public SecurityManagerDeployer()
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

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 - .

getConfigFileName

public java.lang.String getConfigFileName()
Description copied from interface: Deployer
The name of the configuration file name to look for for deployment

Returns:
The name of the config file

getWeight

public int getWeight()
Description copied from interface: Deployer
the weight of the deployer, used for ordering the order that deployers are deployed.

Specified by:
getWeight in interface Deployer
Specified by:
getWeight in class XmlDeployer
Returns:
the weight

setJbmSecurityManager

public void setJbmSecurityManager(JBMUpdateableSecurityManager jbmSecurityManager)

setMessagingServer

public void setMessagingServer(MessagingServer messagingServer)

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface MessagingComponent
Overrides:
start in class XmlDeployer
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface MessagingComponent
Overrides:
stop in class XmlDeployer
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.