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

项目:javify    文件:LocalObject.java   
/**
 * This method is not appropriate for the local objects and just
 * throws an exception.
 *
 * @throws NO_IMPLEMENT, always.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  throw new NO_IMPLEMENT(INAPPROPRIATE);
}
项目:jvm-stm    文件:LocalObject.java   
/**
 * This method is not appropriate for the local objects and just
 * throws an exception.
 *
 * @throws NO_IMPLEMENT, always.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  throw new NO_IMPLEMENT(INAPPROPRIATE);
}
项目:JamVM-PH    文件:LocalObject.java   
/**
 * This method is not appropriate for the local objects and just
 * throws an exception.
 *
 * @throws NO_IMPLEMENT, always.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  throw new NO_IMPLEMENT(INAPPROPRIATE);
}
项目:classpath    文件:LocalObject.java   
/**
 * This method is not appropriate for the local objects and just
 * throws an exception.
 *
 * @throws NO_IMPLEMENT, always.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  throw new NO_IMPLEMENT(INAPPROPRIATE);
}
项目:TIDorbJ    文件:PolicyContext.java   
public synchronized void setPolicies(Policy[] policies,
                                     SetOverrideType set_add)
    throws org.omg.CORBA.InvalidPolicies
{

    if (set_add == SetOverrideType.SET_OVERRIDE) {
        clear();
    }

    java.util.Vector errors = null;

    for (short i = 0; i < policies.length; i++) {
        try {
            setPolicy(policies[i]);
        }
        catch (PolicyError pe) {
            if (errors == null)
                errors = new java.util.Vector();
            errors.add(new Short(i));
        }
    }

    if (errors != null) {
        InvalidPolicies ex = new InvalidPolicies();

        int size = errors.size();

        ex.indices = new short[size];

        for (int i = 0; i < size; i++)
            ex.indices[i] = ((Short) errors.elementAt(i)).shortValue();

        throw ex;
    }

}
项目:OpenJSharp    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:openjdk-jdk10    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:openjdk9    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:lookaside_java-1.8.0-openjdk    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:jdk8u_corba    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:infobip-open-jdk-8    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:openjdk-source-code-learn    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:OLD-OpenJDK8    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:openjdk-orb    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:openjdk-icedtea7    文件:StubWrapper.java   
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
项目:javify    文件:Delegate.java   
/**
 * Returns a new object with the new policies either replacing or
 * extending the current policies, depending on the second parameter.
 *
 * @param target the CORBA object, to that this operation must be applied.
 * @param policies the policy additions or replacements.
 * @param how either {@link SetOverrideType#SET_OVERRIDE} to override the
 * current policies of {@link SetOverrideType#ADD_OVERRIDE} to replace
 * them.
 *
 * @throws NO_IMPLEMENT, always (following the 1.4 specification).
 *
 * @return the new reference with the changed policies.
 */
public org.omg.CORBA.Object set_policy_override(org.omg.CORBA.Object target,
                                                Policy[] policies,
                                                SetOverrideType how
                                               )
{
  throw new NO_IMPLEMENT(WHY);
}
项目:javify    文件:ObjectImpl.java   
/**
 * Returns a new object with the new policies either replacing or
 * extending the current policies, depending on the second parameter.
 *
 * @param policies the policy additions or replacements.
 * @param how either {@link SetOverrideType#SET_OVERRIDE} to override the
 * current policies of {@link SetOverrideType#ADD_OVERRIDE} to replace
 * them.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  return delegate.set_policy_override(this, policies, how);
}
项目:javify    文件:gnuPOA.java   
/**
 * The POAs cannot be created by this method.
 *
 * @specnote this is also not possible in Suns jdk at least till 1.4.
 *
 * @throws NO_IMPLEMENT always.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  throw new NO_IMPLEMENT("Use createPOA instead.");
}
项目:jvm-stm    文件:Delegate.java   
/**
 * Returns a new object with the new policies either replacing or
 * extending the current policies, depending on the second parameter.
 *
 * @param target the CORBA object, to that this operation must be applied.
 * @param policies the policy additions or replacements.
 * @param how either {@link SetOverrideType#SET_OVERRIDE} to override the
 * current policies of {@link SetOverrideType#ADD_OVERRIDE} to replace
 * them.
 *
 * @throws NO_IMPLEMENT, always (following the 1.4 specification).
 *
 * @return the new reference with the changed policies.
 */
public org.omg.CORBA.Object set_policy_override(org.omg.CORBA.Object target,
                                                Policy[] policies,
                                                SetOverrideType how
                                               )
{
  throw new NO_IMPLEMENT(WHY);
}
项目:jvm-stm    文件:ObjectImpl.java   
/**
 * Returns a new object with the new policies either replacing or
 * extending the current policies, depending on the second parameter.
 *
 * @param policies the policy additions or replacements.
 * @param how either {@link SetOverrideType#SET_OVERRIDE} to override the
 * current policies of {@link SetOverrideType#ADD_OVERRIDE} to replace
 * them.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  return delegate.set_policy_override(this, policies, how);
}
项目:jvm-stm    文件:gnuPOA.java   
/**
 * The POAs cannot be created by this method.
 *
 * @specnote this is also not possible in Suns jdk at least till 1.4.
 *
 * @throws NO_IMPLEMENT always.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  throw new NO_IMPLEMENT("Use createPOA instead.");
}
项目:JamVM-PH    文件:Delegate.java   
/**
 * Returns a new object with the new policies either replacing or
 * extending the current policies, depending on the second parameter.
 *
 * @param target the CORBA object, to that this operation must be applied.
 * @param policies the policy additions or replacements.
 * @param how either {@link SetOverrideType#SET_OVERRIDE} to override the
 * current policies of {@link SetOverrideType#ADD_OVERRIDE} to replace
 * them.
 *
 * @throws NO_IMPLEMENT, always (following the 1.4 specification).
 *
 * @return the new reference with the changed policies.
 */
public org.omg.CORBA.Object set_policy_override(org.omg.CORBA.Object target,
                                                Policy[] policies,
                                                SetOverrideType how
                                               )
{
  throw new NO_IMPLEMENT(WHY);
}
项目:JamVM-PH    文件:ObjectImpl.java   
/**
 * Returns a new object with the new policies either replacing or
 * extending the current policies, depending on the second parameter.
 *
 * @param policies the policy additions or replacements.
 * @param how either {@link SetOverrideType#SET_OVERRIDE} to override the
 * current policies of {@link SetOverrideType#ADD_OVERRIDE} to replace
 * them.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  return delegate.set_policy_override(this, policies, how);
}
项目:JamVM-PH    文件:gnuPOA.java   
/**
 * The POAs cannot be created by this method.
 *
 * @specnote this is also not possible in Suns jdk at least till 1.4.
 *
 * @throws NO_IMPLEMENT always.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  throw new NO_IMPLEMENT("Use createPOA instead.");
}
项目:classpath    文件:Delegate.java   
/**
 * Returns a new object with the new policies either replacing or
 * extending the current policies, depending on the second parameter.
 *
 * @param target the CORBA object, to that this operation must be applied.
 * @param policies the policy additions or replacements.
 * @param how either {@link SetOverrideType#SET_OVERRIDE} to override the
 * current policies of {@link SetOverrideType#ADD_OVERRIDE} to replace
 * them.
 *
 * @throws NO_IMPLEMENT, always (following the 1.4 specification).
 *
 * @return the new reference with the changed policies.
 */
public org.omg.CORBA.Object set_policy_override(org.omg.CORBA.Object target,
                                                Policy[] policies,
                                                SetOverrideType how
                                               )
{
  throw new NO_IMPLEMENT(WHY);
}
项目:classpath    文件:ObjectImpl.java   
/**
 * Returns a new object with the new policies either replacing or
 * extending the current policies, depending on the second parameter.
 *
 * @param policies the policy additions or replacements.
 * @param how either {@link SetOverrideType#SET_OVERRIDE} to override the
 * current policies of {@link SetOverrideType#ADD_OVERRIDE} to replace
 * them.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  return delegate.set_policy_override(this, policies, how);
}
项目:classpath    文件:gnuPOA.java   
/**
 * The POAs cannot be created by this method.
 *
 * @specnote this is also not possible in Suns jdk at least till 1.4.
 *
 * @throws NO_IMPLEMENT always.
 */
public org.omg.CORBA.Object _set_policy_override(Policy[] policies,
                                                 SetOverrideType how
                                                )
{
  throw new NO_IMPLEMENT("Use createPOA instead.");
}
项目:javify    文件:SetOverrideTypeHolder.java   
/**
 * Create the initialised instance.
 *
 * @param initialValue the initial value.
 */
public SetOverrideTypeHolder(SetOverrideType initialValue)
{
  value = initialValue;
}
项目:jvm-stm    文件:SetOverrideTypeHolder.java   
/**
 * Create the initialised instance.
 *
 * @param initialValue the initial value.
 */
public SetOverrideTypeHolder(SetOverrideType initialValue)
{
  value = initialValue;
}
项目:JamVM-PH    文件:SetOverrideTypeHolder.java   
/**
 * Create the initialised instance.
 *
 * @param initialValue the initial value.
 */
public SetOverrideTypeHolder(SetOverrideType initialValue)
{
  value = initialValue;
}
项目:classpath    文件:SetOverrideTypeHolder.java   
/**
 * Create the initialised instance.
 *
 * @param initialValue the initial value.
 */
public SetOverrideTypeHolder(SetOverrideType initialValue)
{
  value = initialValue;
}