Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

org::openide::windows::TopComponent::Replacer Class Reference

Collaboration diagram for org::openide::windows::TopComponent::Replacer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Replacer (TopComponent tc)

Package Attributes

transient TopComponent tc

Static Package Attributes

final long serialVersionUID = -8897067133215740572L

Private Member Functions

void writeObject (ObjectOutputStream oos) throws IOException, ClassNotFoundException
void readObject (ObjectInputStream ois) throws IOException, ClassNotFoundException
Object readResolve () throws ObjectStreamException

Static Private Member Functions

Method findReadResolveMethod (Class clazz)

Detailed Description

Instance of this class is serialized instead of TopComponent itself. Emulates behaviour of serialization of externalizable objects to keep TopComponent serialization compatible with previous versions.


Constructor & Destructor Documentation

org::openide::windows::TopComponent::Replacer::Replacer TopComponent  tc  )  [inline]
 


Member Function Documentation

Method org::openide::windows::TopComponent::Replacer::findReadResolveMethod Class  clazz  )  [inline, static, private]
 

Tries to find readResolve method in given class. Finds both public and non-public occurences of the method and searches also in superclasses

void org::openide::windows::TopComponent::Replacer::readObject ObjectInputStream  ois  )  throws IOException, ClassNotFoundException [inline, private]
 

Object org::openide::windows::TopComponent::Replacer::readResolve  )  throws ObjectStreamException [inline, private]
 

Resolve to original top component instance

void org::openide::windows::TopComponent::Replacer::writeObject ObjectOutputStream  oos  )  throws IOException, ClassNotFoundException [inline, private]
 


Member Data Documentation

final long org::openide::windows::TopComponent::Replacer::serialVersionUID = -8897067133215740572L [static, package]
 

SUID

transient TopComponent org::openide::windows::TopComponent::Replacer::tc [package]
 

Asociation with top component which is to be serialized using this replacer


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:14:05 2009 for ACS Java API by doxygen 1.3.8