org.jboss.security.microcontainer.beans
Class Util
java.lang.Object
org.jboss.security.microcontainer.beans.Util
public class Util
- extends Object
Utility class used by the policies beans.
- Author:
- Stefan Guilhen
Constructor Summary |
Util()
|
Method Summary |
static org.jboss.security.config.ControlFlag |
getControlFlag(String flag)
Converts the specified flag to one of the existing ControlFlag objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
getControlFlag
public static org.jboss.security.config.ControlFlag getControlFlag(String flag)
Converts the specified flag to one of the existing ControlFlag
objects.
- Parameters:
flag
- a String
containing the name of the control flag.
- Returns:
- the constructed
ControlFlag
object.
- Throws:
IllegalArgumentException
- if the specified flag does not correspond to any ControlFlag
.
Copyright © 2009 JBoss Inc.. All Rights Reserved.