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

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

public class MappingModuleMetaData
extends BaseModuleMetaData

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

Author:
Stefan Guilhen

Field Summary
 
Fields inherited from class org.jboss.security.microcontainer.beans.metadata.BaseModuleMetaData
code, moduleOptions
 
Constructor Summary
MappingModuleMetaData()
           
 
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 MappingPolicyModule.
 String getType()
           Obtains the type of mapping performed by the mapping module.
 void setType(String type)
           Sets the type of mapping performed by the mapping 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

MappingModuleMetaData

public MappingModuleMetaData()
Method Detail

getType

public String getType()

Obtains the type of mapping performed by the mapping module.

Returns:
a String representing the type of mapping executed by the mapping module.

setType

public void setType(String type)

Sets the type of mapping performed by the mapping module.

Parameters:
type - a String representing the type of mapping.

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

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.