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

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

public class FlaggedModuleMetaData
extends BaseModuleMetaData

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

Author:
Stefan Guilhen

Field Summary
 
Fields inherited from class org.jboss.security.microcontainer.beans.metadata.BaseModuleMetaData
code, moduleOptions
 
Constructor Summary
FlaggedModuleMetaData()
           
 
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 FlaggedPolicyModule.
 String getFlag()
           Obtains the flag of the module.
 void setFlag(String flag)
           Sets the flag of 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

FlaggedModuleMetaData

public FlaggedModuleMetaData()
Method Detail

getFlag

public String getFlag()

Obtains the flag of the module.

Returns:
a String representing the module's flag.

setFlag

public void setFlag(String flag)

Sets the flag of the module.

Parameters:
flag - a String representing the flag 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 FlaggedPolicyModule.

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.