

Public Member Functions | |
| Replacer (TopComponent tc) | |
Package Attributes | |
| transient TopComponent | tc |
Static Package Attributes | |
| static 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 | |
| static Method | findReadResolveMethod (Class clazz) |
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.
| org::openide::windows::TopComponent::Replacer::Replacer | ( | TopComponent | tc | ) | [inline] |
| static 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
Referenced by readObject().
| void org::openide::windows::TopComponent::Replacer::readObject | ( | ObjectInputStream | ois | ) | throws IOException, ClassNotFoundException [inline, private] |
References findReadResolveMethod(), org::openide::windows::TopComponent::readExternal(), and tc.
| Object org::openide::windows::TopComponent::Replacer::readResolve | ( | ) | throws ObjectStreamException [inline, private] |
Resolve to original top component instance
References tc.
| void org::openide::windows::TopComponent::Replacer::writeObject | ( | ObjectOutputStream | oos | ) | throws IOException, ClassNotFoundException [inline, private] |
References tc, and org::openide::windows::TopComponent::writeExternal().
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
Referenced by readObject(), readResolve(), and writeObject().
1.6.2