org.jboss.security.mapping
Class MappingContext<T>

java.lang.Object
  extended by org.jboss.security.mapping.MappingContext<T>
Type Parameters:
T -

public class MappingContext<T>
extends Object

Generic Context used by the Mapping Framework

Since:
Aug 24, 2006
Version:
$Revision$
Author:
Anil Saldhana

Constructor Summary
MappingContext(List<MappingProvider<T>> mod)
           
 
Method Summary
 MappingResult<T> getMappingResult()
           
 List<MappingProvider<T>> getModules()
          Get the set of mapping modules
 void performMapping(Map<String,Object> contextMap, T mappedObject)
          Apply mapping semantics on the passed object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingContext

public MappingContext(List<MappingProvider<T>> mod)
Method Detail

getModules

public List<MappingProvider<T>> getModules()
Get the set of mapping modules

Returns:

performMapping

public void performMapping(Map<String,Object> contextMap,
                           T mappedObject)
Apply mapping semantics on the passed object

Parameters:
contextMap - Read-only Contextual Map
mappedObject - an object on which mapping will be applied

getMappingResult

public MappingResult<T> getMappingResult()


Copyright © 2007 JBoss Inc.. All Rights Reserved.