org.omg.CORBA_2_3.portable.InputStream.read_abstract_interface()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(4.6k)|赞(0)|评价(0)|浏览(110)

本文整理了Java中org.omg.CORBA_2_3.portable.InputStream.read_abstract_interface()方法的一些代码示例,展示了InputStream.read_abstract_interface()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.read_abstract_interface()方法的具体详情如下:
包路径:org.omg.CORBA_2_3.portable.InputStream
类名称:InputStream
方法名:read_abstract_interface

InputStream.read_abstract_interface介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

public Object read(InputStream in) {
    return in.read_abstract_interface();
  }
}

代码示例来源:origin: org.apache.yoko/yoko-rmi-impl

/** Read an instance of this value from a CDR stream */
public Object read(org.omg.CORBA.portable.InputStream in) {
  org.omg.CORBA_2_3.portable.InputStream _in = (org.omg.CORBA_2_3.portable.InputStream) in;
  return _in.read_abstract_interface();
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

public static java.lang.Object read(org.omg.CORBA.portable.InputStream in) {
  org.omg.CORBA_2_3.portable.InputStream in_2_3 = (org.omg.CORBA_2_3.portable.InputStream) in;
  return in_2_3.read_abstract_interface();
}

代码示例来源:origin: org.jacorb/jacorb

/**
 * Operation read_Abstract
 */
public java.lang.Object read_Abstract()
{
  return ( ( org.omg.CORBA_2_3.portable.InputStream ) delegate ).read_abstract_interface();
}

代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk

public Object read(InputStream in) {
    return in.read_abstract_interface();
  }
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public Object read( InputStream is )
{
  return is.read_abstract_interface() ;
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

public Object read(InputStream is)
{
  return is.read_abstract_interface();
}

代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk

public Object read(InputStream in) {
    return in.read_abstract_interface();
  }
}

代码示例来源:origin: jboss/jboss-javaee-specs

public Object read(InputStream is)
{
  return is.read_abstract_interface();
}

代码示例来源:origin: org.apache.yoko/yoko-rmi-impl

public Object readAbstractObject()
    throws org.omg.CORBA.portable.IndirectionException {
  try {
    return in.read_abstract_interface();
  } catch (org.omg.CORBA.portable.IndirectionException ex) {
    return offsetMap.get(new Integer(ex.offset));
  }
}

代码示例来源:origin: org.jppf/jppf-jmxremote_optional

@Override
@SuppressWarnings("all")
public java.lang.Object read_abstract_interface(final Class clz) {
 return narrow().read_abstract_interface(clz);
}

代码示例来源:origin: org.jppf/jppf-jmxremote_optional

@Override
public java.lang.Object read_abstract_interface() {
 return narrow().read_abstract_interface();
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

/**
 * Read an abstract interface type from the input stream and narrow it to the desired type.
 * 
 * @param in
 *            the stream to read from.
 * @throws ClassCastException
 *             if narrowFrom cannot be cast to narrowTo.
 */
public static Object readAbstractAndNarrow(org.omg.CORBA_2_3.portable.InputStream in, Class<?> narrowTo)
    throws ClassCastException
{
  Object result = in.read_abstract_interface();
  if (result != null)
    return PortableRemoteObject.narrow(result, narrowTo);
  else
    return null;
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

/**
 * Read an abstract interface type from the input stream and narrow
 * it to the desired type.
 * @param in the stream to read from.
 * @throws ClassCastException if narrowFrom cannot be cast to narrowTo.
 */
public static Object readAbstractAndNarrow(
  org.omg.CORBA_2_3.portable.InputStream in, Class narrowTo)
  throws ClassCastException
{
  Object result = in.read_abstract_interface();
  if (result != null)
    return PortableRemoteObject.narrow(result, narrowTo);
  else
    return null;
}

代码示例来源:origin: jboss/jboss-javaee-specs

/**
 * Read an abstract interface type from the input stream and narrow it to the desired type.
 * 
 * @param in
 *            the stream to read from.
 * @throws ClassCastException
 *             if narrowFrom cannot be cast to narrowTo.
 */
public static Object readAbstractAndNarrow(org.omg.CORBA_2_3.portable.InputStream in, Class<?> narrowTo)
    throws ClassCastException
{
  Object result = in.read_abstract_interface();
  if (result != null)
    return PortableRemoteObject.narrow(result, narrowTo);
  else
    return null;
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

return orbStream.read_abstract_interface();

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement

return orbStream.read_abstract_interface();
} catch (MARSHAL marshalException) {
  handleOptionalDataMarshalException(marshalException, true);

代码示例来源:origin: jboss/jboss-javaee-specs

return orbStream.read_abstract_interface();

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

case ValueHandlerImpl.kAbstractType :
  if (!narrow)
    objectValue = orbStream.read_abstract_interface(actualType);
  else
    objectValue = Utility.readAbstractAndNarrow(orbStream, actualType);

代码示例来源:origin: org.apache.yoko/yoko-rmi-impl

org.omg.CORBA_2_3.portable.InputStream in23 = (org.omg.CORBA_2_3.portable.InputStream) any
    .create_input_stream();
return in23.read_abstract_interface();

相关文章