Save This Page
Home » openjdk-7 » org.omg » PortableServer » [javadoc | source]
org.omg.PortableServer
public class: ThreadPolicyValue [javadoc | source]
java.lang.Object
   org.omg.PortableServer.ThreadPolicyValue

All Implemented Interfaces:
    IDLEntity, Serializable

Defines the possible values for the POA thread policy. This enumeration can obtain the following values: OMG also defines a MAIN_THREAD_MODEL, currently not supported by the java API.
Field Summary
public static final  int _ORB_CTRL_MODEL    The possible value of this enumeration (ORB_CTRL_MODEL). 
public static final  ThreadPolicyValue ORB_CTRL_MODEL    An instance of ThreadPolicyValue, initialized to ORB_CTRL_MODEL. 
public static final  int _SINGLE_THREAD_MODEL    The possible value of this enumeration (SINGLE_THREAD_MODEL). 
public static final  ThreadPolicyValue SINGLE_THREAD_MODEL    An instance of ThreadPolicyValue, initialized to SINGLE_THREAD_MODEL. 
Constructor:
 protected ThreadPolicyValue(int a_value) 
Method from org.omg.PortableServer.ThreadPolicyValue Summary:
from_int,   toString,   value
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.omg.PortableServer.ThreadPolicyValue Detail:
 public static ThreadPolicyValue from_int(int code) 
    Returns the ThreadPolicyValue, matching the given integer constant.
 public String toString() 
    Returns a short string representation.
 public int value() 
    Returns the integer code of the enumeration value.