当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 iiop API Documentation 英文版文档
ReferenceData (JBoss IIOP Plugin API) - JBoss 4.0.1 sp1 iiop API Documentation 英文版文档
org.jboss.invocation.iiop
Class ReferenceData
java.lang.Object
org.jboss.invocation.iiop.ReferenceData
- All Implemented Interfaces:
- Serializable
- public class ReferenceData
- extends Object
- implements Serializable
Helper class used to create a byte array ("reference data") to be embedded
into a CORBA reference and to extract object/servant identification info
from this byte array. If this info consists simply of an
objectId
, this id is serialized into the byte array. If this
info consists of a pair (servantId, objectId), a ReferenceData
instance containing the pair is is serialized into the byte array.
- Version:
- $Revision: 1.1 $
- Author:
- Francisco Reverbel
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static byte[] create(Object servantId,
Object objectId)
create
public static byte[] create(Object id)
extractServantId
public static Object extractServantId(byte[] refData,
ClassLoader cl)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
extractServantId
public static Object extractServantId(byte[] refData)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
extractObjectId
public static Object extractObjectId(byte[] refData,
ClassLoader cl)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
extractObjectId
public static Object extractObjectId(byte[] refData)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.