public class Policy<T extends Policy<T>> extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Map |
customPolicy()
A custom policy provider definition.
|
T |
customPolicy(Map value)
A custom policy provider definition.
|
T |
customPolicy(String key,
Object value)
A custom policy provider definition.
|
String |
defaultPolicy()
Deprecated.
The 'default-policy' attribute is ignored, as a policy
resource should be configured with only one policy.
|
T |
defaultPolicy(String value)
Deprecated.
The 'default-policy' attribute is ignored, as a policy
resource should be configured with only one policy.
|
String |
getKey() |
Map |
jaccPolicy()
A policy provider definition that sets up JACC and related services.
|
T |
jaccPolicy(Map value)
A policy provider definition that sets up JACC and related services.
|
T |
jaccPolicy(String key,
Object value)
A policy provider definition that sets up JACC and related services.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public Policy(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Map customPolicy()
@Deprecated public String defaultPolicy()
@Deprecated public T defaultPolicy(String value)
public Map jaccPolicy()
public T jaccPolicy(Map value)
Copyright © 2020 JBoss by Red Hat. All rights reserved.