FileDocCategorySizeDatePackage
ThreadPolicyValue.javaAPI DocJava SE 5 API1633Fri Aug 26 17:25:04 BST 2005org.omg.PortableServer

ThreadPolicyValue

public class ThreadPolicyValue extends Object implements org.omg.CORBA.portable.IDLEntity
The ThreadPolicyValue can have the following values. ORB_CTRL_MODEL - The ORB is responsible for assigning requests for an ORB- controlled POA to threads. SINGLE_THREAD_MODEL - Requests for a single-threaded POA are processed sequentially.

Fields Summary
private int
__value
private static int
__size
private static ThreadPolicyValue[]
__array
public static final int
_ORB_CTRL_MODEL
public static final ThreadPolicyValue
ORB_CTRL_MODEL
public static final int
_SINGLE_THREAD_MODEL
public static final ThreadPolicyValue
SINGLE_THREAD_MODEL
Constructors Summary
protected ThreadPolicyValue(int value)

    __value = value;
    __array[__value] = this;
  
Methods Summary
public static org.omg.PortableServer.ThreadPolicyValuefrom_int(int value)

    if (value >= 0 && value < __size)
      return __array[value];
    else
      throw new org.omg.CORBA.BAD_PARAM ();
  
public intvalue()


     
  
    return __value;