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

项目:javify    文件:gnuDynAny.java   
/** {@inheritDoc} */
public Object get_reference() throws TypeMismatch
{
  try
    {
      return ((ObjectHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
项目:javify    文件:gnuDynAny.java   
/** {@inheritDoc} */
public void insert_reference(Object a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((ObjectHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
项目:javify    文件:gnuAny.java   
/**
 * Extract the previously stored object.
 */
public org.omg.CORBA.Object extract_Object()
{
  try
    {
      return ((ObjectHolder) has).value;
    }
  catch (ClassCastException ex)
    {
      BAD_OPERATION bad = new BAD_OPERATION();
      bad.initCause(ex);
      bad.minor = Minor.Any;
      throw bad;
    }
}
项目:jvm-stm    文件:gnuDynAny.java   
/** {@inheritDoc} */
public Object get_reference() throws TypeMismatch
{
  try
    {
      return ((ObjectHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
项目:jvm-stm    文件:gnuDynAny.java   
/** {@inheritDoc} */
public void insert_reference(Object a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((ObjectHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
项目:jvm-stm    文件:gnuAny.java   
/**
 * Extract the previously stored object.
 */
public org.omg.CORBA.Object extract_Object()
{
  try
    {
      return ((ObjectHolder) has).value;
    }
  catch (ClassCastException ex)
    {
      BAD_OPERATION bad = new BAD_OPERATION();
      bad.initCause(ex);
      bad.minor = Minor.Any;
      throw bad;
    }
}
项目:JamVM-PH    文件:gnuDynAny.java   
/** {@inheritDoc} */
public Object get_reference() throws TypeMismatch
{
  try
    {
      return ((ObjectHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
项目:JamVM-PH    文件:gnuDynAny.java   
/** {@inheritDoc} */
public void insert_reference(Object a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((ObjectHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
项目:JamVM-PH    文件:gnuAny.java   
/**
 * Extract the previously stored object.
 */
public org.omg.CORBA.Object extract_Object()
{
  try
    {
      return ((ObjectHolder) has).value;
    }
  catch (ClassCastException ex)
    {
      BAD_OPERATION bad = new BAD_OPERATION();
      bad.initCause(ex);
      bad.minor = Minor.Any;
      throw bad;
    }
}
项目:classpath    文件:gnuDynAny.java   
/** {@inheritDoc} */
public Object get_reference() throws TypeMismatch
{
  try
    {
      return ((ObjectHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
项目:classpath    文件:gnuDynAny.java   
/** {@inheritDoc} */
public void insert_reference(Object a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((ObjectHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
项目:classpath    文件:gnuAny.java   
/**
 * Extract the previously stored object.
 */
public org.omg.CORBA.Object extract_Object()
{
  try
    {
      return ((ObjectHolder) has).value;
    }
  catch (ClassCastException ex)
    {
      BAD_OPERATION bad = new BAD_OPERATION();
      bad.initCause(ex);
      bad.minor = Minor.Any;
      throw bad;
    }
}
项目:classpath    文件:gnuAny.java   
/**
 * Inserts the CORBA object.
 */
public void insert_Object(org.omg.CORBA.Object x)
{
  has = new ObjectHolder(x);
}
项目:javify    文件:gnuAny.java   
/**
 * Inserts the CORBA object and sets the typecode to the given type.
 */
public void insert_Object(org.omg.CORBA.Object x, TypeCode typecode)
{
  has = new ObjectHolder(x);
  type(typecode);
}
项目:javify    文件:gnuAny.java   
/**
 * Inserts the CORBA object.
 */
public void insert_Object(org.omg.CORBA.Object x)
{
  has = new ObjectHolder(x);
}
项目:jvm-stm    文件:gnuAny.java   
/**
 * Inserts the CORBA object and sets the typecode to the given type.
 */
public void insert_Object(org.omg.CORBA.Object x, TypeCode typecode)
{
  has = new ObjectHolder(x);
  type(typecode);
}
项目:jvm-stm    文件:gnuAny.java   
/**
 * Inserts the CORBA object.
 */
public void insert_Object(org.omg.CORBA.Object x)
{
  has = new ObjectHolder(x);
}
项目:JamVM-PH    文件:gnuAny.java   
/**
 * Inserts the CORBA object and sets the typecode to the given type.
 */
public void insert_Object(org.omg.CORBA.Object x, TypeCode typecode)
{
  has = new ObjectHolder(x);
  type(typecode);
}
项目:JamVM-PH    文件:gnuAny.java   
/**
 * Inserts the CORBA object.
 */
public void insert_Object(org.omg.CORBA.Object x)
{
  has = new ObjectHolder(x);
}
项目:classpath    文件:gnuAny.java   
/**
 * Inserts the CORBA object and sets the typecode to the given type.
 */
public void insert_Object(org.omg.CORBA.Object x, TypeCode typecode)
{
  has = new ObjectHolder(x);
  type(typecode);
}