KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > remoting > marshall > dynamic > local > TestWrapper


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.test.remoting.marshall.dynamic.local;
8
9 import java.io.Serializable JavaDoc;
10
11 /**
12  * @author <a HREF="mailto:tom.elrod@jboss.com">Tom Elrod</a>
13  */

14 public class TestWrapper implements Serializable JavaDoc
15 {
16    private Object JavaDoc payload = null;
17
18    public TestWrapper(Object JavaDoc payload)
19    {
20       this.payload = payload;
21    }
22
23    public Object JavaDoc getPayload()
24    {
25       return payload;
26    }
27 }
Popular Tags