public final class AuthorityFactory extends Object
Authority instance back from its String representation returned
by Authority.getAuthority()| Constructor and Description |
|---|
AuthorityFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Authority |
create(String authority)
Deprecated.
since 15.5 - use
valueOf(String) instead. |
static Authority |
valueOf(Privilege privilege)
Converts Privilege to Authority
|
static Authority |
valueOf(String authority)
Creates an
Authority instance out its short (or long) name String representation. |
public static Authority create(String authority)
valueOf(String) instead.Authority instance out of its String representation Authority.getAuthority().authority - An authority String representation.public static Authority valueOf(String authority)
Authority instance out its short (or long) name String representation.
Calls create(String) if short representation is not matched.authority - An authority String representationCopyright © GigaSpaces.