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

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

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

InputStream.read_Object介绍

暂无

代码示例

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

public Object read(InputStream in) {
    return (org.omg.CORBA.Object) in.read_Object();
  }
}

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

public Object read(InputStream in) {
    // The narrow() call downloads the stub from the codebase embedded
    // within the IOR of the unmarshalled object.
    return PortableRemoteObject.narrow(in.read_Object(), clz);
  }
}

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

public org.omg.CORBA.Object readCorbaObject(Class type) {
org.omg.CORBA.Object objref = in.read_Object();
//objref = (org.omg.CORBA.Object) PortableRemoteObject.narrow(objref, type);
return objref;
}

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

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

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

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

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

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

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

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

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

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

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

public Object read(InputStream in) {
    return (org.omg.CORBA.Object) in.read_Object();
  }
}

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

public Object read(InputStream in) {
    return (org.omg.CORBA.Object) in.read_Object();
  }
}

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

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

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

public Object read( InputStream is )
{
  return PortableRemoteObject.narrow( is.read_Object(),
    cls ) ;
}

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

public java.rmi.Remote readRemoteObject(Class type) {
  org.omg.CORBA.Object objref = in.read_Object();
  return (java.rmi.Remote) javax.rmi.PortableRemoteObject.narrow(objref,
      type);
}

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

public Object read(InputStream in) {
    // The narrow() call downloads the stub from the codebase embedded
    // within the IOR of the unmarshalled object.
    return PortableRemoteObject.narrow(in.read_Object(), clz);
  }
}

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

public Object read(InputStream is)
{
  return PortableRemoteObject.narrow(is.read_Object(), cls);
}

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

public Object read(InputStream is)
{
  return PortableRemoteObject.narrow(is.read_Object(), cls);
}

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

public Object read(InputStream in) {
    // The narrow() call downloads the stub from the codebase embedded
    // within the IOR of the unmarshalled object.
    return PortableRemoteObject.narrow(in.read_Object(), clz);
  }
}

代码示例来源: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;
  
  // there are two ways we need to deal with IDLEntity classes.  Ones that also implement 
  // the CORBA Object interface are actual corba objects, and must be handled that way. 
  // Other IDLEntity classes are just transmitted by value. 
  if (isCorba) {
    return _in.read_Object(getJavaClass()); 
  }
  else {
    // we directly call read_value() on the stream here, with the explicitly specified
    // repository ID.  The input stream will handle validating the value tag for us, and eventually
    // will call our readValue() method to deserialize the object.
    return _in.read_value(getRepositoryID());
  }
}

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

objectValue = orbStream.read_Object(actualType);
else
  objectValue = Utility.readObjectAndNarrow(orbStream, actualType);

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

objectValue = orbStream.read_Object(actualType);
else
  objectValue = Utility.readObjectAndNarrow(orbStream, actualType);

相关文章