本文整理了Java中javax.rmi.CORBA.Util.writeAny()
方法的一些代码示例,展示了Util.writeAny()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.writeAny()
方法的具体详情如下:
包路径:javax.rmi.CORBA.Util
类名称:Util
方法名:writeAny
暂无
代码示例来源:origin: wildfly/wildfly
public void write(OutputStream out, Object obj) {
Util.writeAny(out, obj);
}
}
代码示例来源:origin: wildfly/wildfly
public void write(OutputStream out, Object obj) {
Util.writeAny(out, (Externalizable) obj);
}
}
代码示例来源:origin: wildfly/wildfly
public void write(OutputStream out, Object obj) {
Util.writeAny(out, (Serializable) obj);
}
}
代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
Util.writeAny(out, (Externalizable) obj);
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void write(OutputStream os, Object value)
{
Util.writeAny(os, value);
}
};
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void write( OutputStream os, Object value )
{
Util.writeAny( os, value ) ;
}
} ;
代码示例来源:origin: jboss/jboss-javaee-specs
public void write(OutputStream os, Object value)
{
Util.writeAny(os, value);
}
};
代码示例来源:origin: org.apache.yoko/yoko-rmi-impl
/** Write an instance of this value to a CDR stream */
public void write(org.omg.CORBA.portable.OutputStream out, Object val) {
javax.rmi.CORBA.Util.writeAny(out, val);
}
代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
Util.writeAny(out, obj);
}
}
代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
Util.writeAny(out, (Serializable) obj);
}
}
代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
Util.writeAny(out, (Externalizable) obj);
}
}
代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
Util.writeAny(out, obj);
}
}
代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
Util.writeAny(out, (Serializable) obj);
}
}
代码示例来源:origin: org.apache.yoko/yoko-rmi-impl
public void writeAny(Object obj) throws IOException {
beforeWriteData();
javax.rmi.CORBA.Util.writeAny(out, obj);
}
代码示例来源:origin: org.apache.yoko/yoko-rmi-impl
public void writeValue(org.omg.CORBA.portable.OutputStream out,
java.io.Serializable value) {
// System.out.println ("ObjectArrayDescriptor::writeValue
// "+getRepositoryID ());
Object[] arr = (Object[]) value;
out.write_long(arr.length);
logger.finer("writing " + getJavaClass().getName() + " size="
+ arr.length);
for (int i = 0; i < arr.length; i++) {
javax.rmi.CORBA.Util.writeAny(out, arr[i]);
}
}
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
private OutputStream executeCommand__org_omg_boxedRMI_seq1_octet(org.omg.CORBA_2_3.portable.InputStream in , ResponseHandler reply) throws Throwable {
byte[] arg0 = (byte[]) in.read_value(byte[].class);
Object result = target.executeCommand(arg0);
OutputStream out = reply.createReply();
Util.writeAny(out,result);
return out;
}
}
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
private OutputStream executeCommand__org_eclipse_persistence_sessions_coordination_Command(org.omg.CORBA_2_3.portable.InputStream in , ResponseHandler reply) throws Throwable {
Command arg0 = (Command) in.read_value(Command.class);
Object result = target.executeCommand(arg0);
OutputStream out = reply.createReply();
Util.writeAny(out,result);
return out;
}
代码示例来源:origin: com.haulmont.thirdparty/eclipselink
public OutputStream _invoke(String method, InputStream _in, ResponseHandler reply) throws SystemException {
try {
org.omg.CORBA_2_3.portable.InputStream in = (org.omg.CORBA_2_3.portable.InputStream)_in;
if (method.equals("executeCommand")) {
Command arg0 = (Command)in.read_value(Command.class);
Object result = target.executeCommand(arg0);
OutputStream out = reply.createReply();
Util.writeAny(out, result);
return out;
}
throw new BAD_OPERATION();
} catch (SystemException ex) {
throw ex;
} catch (Throwable ex) {
throw new UnknownException(ex);
}
}
}
代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence
public OutputStream _invoke(String method, InputStream _in, ResponseHandler reply) throws SystemException {
try {
org.omg.CORBA_2_3.portable.InputStream in = (org.omg.CORBA_2_3.portable.InputStream)_in;
if (method.equals("executeCommand")) {
Command arg0 = (Command)in.read_value(Command.class);
Object result = target.executeCommand(arg0);
OutputStream out = reply.createReply();
Util.writeAny(out, result);
return out;
}
throw new BAD_OPERATION();
} catch (SystemException ex) {
throw ex;
} catch (Throwable ex) {
throw new UnknownException(ex);
}
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
javax.rmi.CORBA.Util.writeAny(orbStream, objectValue);
内容来源于网络,如有侵权,请联系作者删除!