JBoss Security SPI - Aggregator 2.0.4.SP8

org.jboss.security.mapping
Interface MappingProvider<T>

Type Parameters:
T -

public interface MappingProvider<T>

A provider with mapping functionality

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

Method Summary
 void init(Map<String,Object> options)
          Initialize the provider with the configured module options
 void performMapping(Map<String,Object> map, T mappedObject)
          Map the passed object
 void setMappingResult(MappingResult<T> result)
          Injected by the MappingContext
 boolean supports(Class<?> p)
          Whether this mapping provider supports mapping T
 

Method Detail

init

void init(Map<String,Object> options)
Initialize the provider with the configured module options

Parameters:
options -

performMapping

void performMapping(Map<String,Object> map,
                    T mappedObject)
Map the passed object

Parameters:
map - A read-only contextual map that can provide information to the provider
mappedObject - an Object on which the mapping will be applied
Throws:
IllegalArgumentException - if the mappedObject is not understood by the provider.

setMappingResult

void setMappingResult(MappingResult<T> result)
Injected by the MappingContext

Parameters:
result -

supports

boolean supports(Class<?> p)
Whether this mapping provider supports mapping T

Parameters:
t -
Returns:

JBoss Security SPI - Aggregator 2.0.4.SP8

Copyright © 2012 JBoss Inc.. All Rights Reserved.