org.openejb.proxy
Class ImmutableArtifact

java.lang.Object
  extended byorg.openejb.proxy.ImmutableArtifact
All Implemented Interfaces:
Externalizable, Serializable

public class ImmutableArtifact
extends Object
implements Externalizable

See Also:
Serialized Form

Constructor Summary
ImmutableArtifact()
          This class is Externalizable and this public, no-arg, constructor is required.
ImmutableArtifact(Object obj)
          Used to creat an ImmutableArtifact object that can represent the true intra-vm artifact in a stream.
 
Method Summary
 void readExternal(ObjectInput in)
          Reads the instanceHandle from the stream
 void writeExternal(ObjectOutput out)
          Writes the instanceHandle to the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableArtifact

public ImmutableArtifact(Object obj)
Used to creat an ImmutableArtifact object that can represent the true intra-vm artifact in a stream.

Parameters:
obj - The object instance this class should represent in the stream.

ImmutableArtifact

public ImmutableArtifact()
This class is Externalizable and this public, no-arg, constructor is required. This constructor should only be used by the deserializing stream.

Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Writes the instanceHandle to the stream.

Specified by:
writeExternal in interface Externalizable
Parameters:
out -
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Reads the instanceHandle from the stream

Specified by:
readExternal in interface Externalizable
Parameters:
in -
Throws:
IOException


Copyright © 1999-2005 OpenEJB. All Rights Reserved.