KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > remote > rmi > Marshaller


1 /*
2  * Copyright (C) MX4J.
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 mx4j.remote.rmi;
10
11 import java.io.IOException JavaDoc;
12 import java.rmi.MarshalledObject JavaDoc;
13
14 /**
15  * IMPORTANT: see {@link RMIMarshaller}
16  * @author <a HREF="mailto:biorn_steedom@users.sourceforge.net">Simone Bordet</a>
17  * @version $Revision: 1.1 $
18  */

19 public class Marshaller
20 {
21    public static Object JavaDoc unmarshal(MarshalledObject JavaDoc obj) throws IOException JavaDoc, ClassNotFoundException JavaDoc
22    {
23       return obj.get();
24    }
25 }
26
Popular Tags