Java Code Examples for org.omg.CORBA.SetOverrideType

The following are top voted examples for showing how to use org.omg.CORBA.SetOverrideType. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: javify   File: LocalObject.java   View source code 5 votes vote down vote up
/**
 * 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);
}
 
Example 2
Project: jvm-stm   File: LocalObject.java   View source code 5 votes vote down vote up
/**
 * 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);
}
 
Example 3
Project: JamVM-PH   File: LocalObject.java   View source code 5 votes vote down vote up
/**
 * 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);
}
 
Example 4
Project: classpath   File: LocalObject.java   View source code 5 votes vote down vote up
/**
 * 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);
}
 
Example 5
Project: TIDorbJ   File: PolicyContext.java   View source code 5 votes vote down vote up
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;
    }

}
 
Example 6
Project: OpenJSharp   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 7
Project: openjdk-jdk10   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 8
Project: openjdk9   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 9
Project: lookaside_java-1.8.0-openjdk   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 10
Project: jdk8u_corba   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 11
Project: infobip-open-jdk-8   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 12
Project: openjdk-source-code-learn   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 13
Project: OLD-OpenJDK8   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 14
Project: openjdk-orb   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 15
Project: openjdk-icedtea7   File: StubWrapper.java   View source code 4 votes vote down vote up
public org.omg.CORBA.Object _set_policy_override( Policy[] policies,
    SetOverrideType set_add)
{
    return object._set_policy_override( policies, set_add ) ;
}
 
Example 16
Project: javify   File: Delegate.java   View source code 3 votes vote down vote up
/**
 * 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);
}
 
Example 17
Project: javify   File: ObjectImpl.java   View source code 3 votes vote down vote up
/**
 * 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);
}
 
Example 18
Project: javify   File: gnuPOA.java   View source code 3 votes vote down vote up
/**
 * 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.");
}
 
Example 19
Project: jvm-stm   File: Delegate.java   View source code 3 votes vote down vote up
/**
 * 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);
}
 
Example 20
Project: jvm-stm   File: ObjectImpl.java   View source code 3 votes vote down vote up
/**
 * 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);
}
 
Example 21
Project: jvm-stm   File: gnuPOA.java   View source code 3 votes vote down vote up
/**
 * 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.");
}
 
Example 22
Project: JamVM-PH   File: Delegate.java   View source code 3 votes vote down vote up
/**
 * 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);
}
 
Example 23
Project: JamVM-PH   File: ObjectImpl.java   View source code 3 votes vote down vote up
/**
 * 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);
}
 
Example 24
Project: JamVM-PH   File: gnuPOA.java   View source code 3 votes vote down vote up
/**
 * 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.");
}
 
Example 25
Project: classpath   File: Delegate.java   View source code 3 votes vote down vote up
/**
 * 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);
}
 
Example 26
Project: classpath   File: ObjectImpl.java   View source code 3 votes vote down vote up
/**
 * 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);
}
 
Example 27
Project: classpath   File: gnuPOA.java   View source code 3 votes vote down vote up
/**
 * 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.");
}
 
Example 28
Project: javify   File: SetOverrideTypeHolder.java   View source code 2 votes vote down vote up
/**
 * Create the initialised instance.
 *
 * @param initialValue the initial value.
 */
public SetOverrideTypeHolder(SetOverrideType initialValue)
{
  value = initialValue;
}
 
Example 29
Project: jvm-stm   File: SetOverrideTypeHolder.java   View source code 2 votes vote down vote up
/**
 * Create the initialised instance.
 *
 * @param initialValue the initial value.
 */
public SetOverrideTypeHolder(SetOverrideType initialValue)
{
  value = initialValue;
}
 
Example 30
Project: JamVM-PH   File: SetOverrideTypeHolder.java   View source code 2 votes vote down vote up
/**
 * Create the initialised instance.
 *
 * @param initialValue the initial value.
 */
public SetOverrideTypeHolder(SetOverrideType initialValue)
{
  value = initialValue;
}
 
Example 31
Project: classpath   File: SetOverrideTypeHolder.java   View source code 2 votes vote down vote up
/**
 * Create the initialised instance.
 *
 * @param initialValue the initial value.
 */
public SetOverrideTypeHolder(SetOverrideType initialValue)
{
  value = initialValue;
}