KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > javax > management > remote > support > Unknown


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package test.javax.management.remote.support;
10
11 import java.io.IOException JavaDoc;
12 import java.io.ObjectInputStream JavaDoc;
13 import java.io.Serializable JavaDoc;
14
15 /**
16  * @version $Revision: 1.3 $
17  */

18 public class Unknown implements Serializable JavaDoc
19 {
20    private transient ClassLoader JavaDoc loader = getClass().getClassLoader();
21
22    private void readObject(ObjectInputStream JavaDoc ois) throws IOException JavaDoc, ClassNotFoundException JavaDoc
23    {
24       ois.defaultReadObject();
25       loader = getClass().getClassLoader();
26    }
27 }
28
Popular Tags