public class ConstantRoleMapper<T extends ConstantRoleMapper<T>> extends Object
Constructor and Description |
---|
ConstantRoleMapper(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
role(String value)
The constant roles to be returned by this role mapper.
|
List<String> |
roles()
The constant roles to be returned by this role mapper.
|
T |
roles(List<String> value)
The constant roles to be returned by this role mapper.
|
T |
roles(String... args)
The constant roles to be returned by this role mapper.
|
public ConstantRoleMapper(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
Copyright © 2018 JBoss by Red Hat. All rights reserved.