org.jboss.security.microcontainer.beans.metadata
Class StackRefModuleMetaData

java.lang.Object
  extended by org.jboss.security.microcontainer.beans.metadata.BaseModuleMetaData
      extended by org.jboss.security.microcontainer.beans.metadata.StackRefModuleMetaData

public class StackRefModuleMetaData
extends BaseModuleMetaData

This class extends the BaseModuleMetaData to add the metadata needed to build a StackRefPolicyModule.

Author:
Stefan Guilhen

Field Summary
 
Fields inherited from class org.jboss.security.microcontainer.beans.metadata.BaseModuleMetaData
code, moduleOptions
 
Constructor Summary
StackRefModuleMetaData()
           
 
Method Summary
 org.jboss.beans.metadata.spi.BeanMetaData getBean(String moduleName)
           Overrides the superclass method to create a BeanMetaDataObject that will be used by the microcontainer to generate an instance of StackRefPolicyModule.
 String getStackRef()
           Obtains the name of the stack referred by the module.
 void setStackRef(String stackRef)
           Sets the name of the stack referred by the module.
 
Methods inherited from class org.jboss.security.microcontainer.beans.metadata.BaseModuleMetaData
getCode, getModuleOptions, setCode, setModuleOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackRefModuleMetaData

public StackRefModuleMetaData()
Method Detail

getStackRef

public String getStackRef()

Obtains the name of the stack referred by the module.

Returns:
a String representing the stack name.

setStackRef

public void setStackRef(String stackRef)

Sets the name of the stack referred by the module.

Parameters:
stackRef - a String representing the name to be set.

getBean

public org.jboss.beans.metadata.spi.BeanMetaData getBean(String moduleName)

Overrides the superclass method to create a BeanMetaDataObject that will be used by the microcontainer to generate an instance of StackRefPolicyModule.

Overrides:
getBean in class BaseModuleMetaData
Parameters:
moduleName - the name of the module bean to be created.
Returns:
a BeanMetaData object containing the metadata needed to create the module bean.


Copyright © 2009 JBoss Inc.. All Rights Reserved.