public class DeploymentRoleToRolesMappingProvider extends Object implements MappingProvider<RoleGroup>
Constructor and Description |
---|
DeploymentRoleToRolesMappingProvider() |
Modifier and Type | Method and Description |
---|---|
void |
init(Map<String,Object> options)
Initialize the provider with the configured module options
|
void |
performMapping(Map<String,Object> contextMap,
RoleGroup mappedObject)
Obtains the deployment roles via the context map and applies it
on the mappedObject
|
void |
setMappingResult(MappingResult<RoleGroup> res)
Injected by the MappingContext
|
boolean |
supports(Class<?> p)
Whether this mapping provider supports
mapping T
|
public DeploymentRoleToRolesMappingProvider()
public void init(Map<String,Object> options)
MappingProvider
init
in interface MappingProvider<RoleGroup>
public void setMappingResult(MappingResult<RoleGroup> res)
MappingProvider
setMappingResult
in interface MappingProvider<RoleGroup>
public void performMapping(Map<String,Object> contextMap, RoleGroup mappedObject)
performMapping
in interface MappingProvider<RoleGroup>
contextMap
- A read-only contextual map that can provide information to the providermappedObject
- an Object on which the mapping will be appliedMappingProvider.performMapping(Map, Object)
public boolean supports(Class<?> p)
MappingProvider
supports
in interface MappingProvider<RoleGroup>
MappingProvider.supports(Class)
Copyright © 2016 JBoss by Red Hat. All rights reserved.