Java 类org.omg.CORBA.PolicyHelper 实例源码

项目:javify    文件:_PolicyImplBase.java   
/**
 * Create the new policy of the given type, having the given value.
 * For security reasons, the method is kept package private.
 *
 * @param p_type the type of this policy.
 * @param p_value the value of this policy.
 * @param p_code the integer code of this policy.
 * @param p_idl the policy IDL type string. The {@link #_ids()}
 * will return array, first line being this string and another
 * being PolicyHelper.id().
 */
public _PolicyImplBase(int p_type, java.lang.Object p_value, int p_code,
                       String p_idl
                      )
{
  type = p_type;
  value = p_value;
  policyCode = p_code;
  ids = new String[] { p_idl, PolicyHelper.id() };
}
项目:jvm-stm    文件:_PolicyImplBase.java   
/**
 * Create the new policy of the given type, having the given value.
 * For security reasons, the method is kept package private.
 *
 * @param p_type the type of this policy.
 * @param p_value the value of this policy.
 * @param p_code the integer code of this policy.
 * @param p_idl the policy IDL type string. The {@link #_ids()}
 * will return array, first line being this string and another
 * being PolicyHelper.id().
 */
public _PolicyImplBase(int p_type, java.lang.Object p_value, int p_code,
                       String p_idl
                      )
{
  type = p_type;
  value = p_value;
  policyCode = p_code;
  ids = new String[] { p_idl, PolicyHelper.id() };
}
项目:JamVM-PH    文件:_PolicyImplBase.java   
/**
 * Create the new policy of the given type, having the given value.
 * For security reasons, the method is kept package private.
 *
 * @param p_type the type of this policy.
 * @param p_value the value of this policy.
 * @param p_code the integer code of this policy.
 * @param p_idl the policy IDL type string. The {@link #_ids()}
 * will return array, first line being this string and another
 * being PolicyHelper.id().
 */
public _PolicyImplBase(int p_type, java.lang.Object p_value, int p_code,
                       String p_idl
                      )
{
  type = p_type;
  value = p_value;
  policyCode = p_code;
  ids = new String[] { p_idl, PolicyHelper.id() };
}
项目:classpath    文件:_PolicyImplBase.java   
/**
 * Create the new policy of the given type, having the given value.
 * For security reasons, the method is kept package private.
 *
 * @param p_type the type of this policy.
 * @param p_value the value of this policy.
 * @param p_code the integer code of this policy.
 * @param p_idl the policy IDL type string. The {@link #_ids()}
 * will return array, first line being this string and another
 * being PolicyHelper.id().
 */
public _PolicyImplBase(int p_type, java.lang.Object p_value, int p_code,
                       String p_idl
                      )
{
  type = p_type;
  value = p_value;
  policyCode = p_code;
  ids = new String[] { p_idl, PolicyHelper.id() };
}