@Portable public class ConnectionRuleImpl extends Object implements ConnectionRule
ConnectionRule.PermittedConnection
Constructor and Description |
---|
ConnectionRuleImpl(String name,
Role role,
Set<ConnectionRule.PermittedConnection> permittedRoles) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Set<ConnectionRule.PermittedConnection> |
getPermittedConnections()
The Connections that are permitted by the Rule.
|
Role |
getRole()
The Role for which the Rule applies.
|
public ConnectionRuleImpl(String name, Role role, Set<ConnectionRule.PermittedConnection> permittedRoles)
public Role getRole()
RuleByRole
getRole
in interface RuleByRole
public Set<ConnectionRule.PermittedConnection> getPermittedConnections()
ConnectionRule
getPermittedConnections
in interface ConnectionRule
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.