View Javadoc

1   /**********************************************************************
2    * ClassloaderRequest.java
3    * created on 11.07.2006 by netseeker
4    * $Source: /cvsroot/ejoe/EJOE/src/de/netseeker/ejoe/request/ClassloaderRequest.java,v $
5    * $Date: 2007/05/27 22:13:09 $
6    * $Revision: 1.2 $
7    *
8    * ====================================================================
9    *
10   *  Copyright 2006 netseeker aka Michael Manske
11   *
12   *  Licensed under the Apache License, Version 2.0 (the "License");
13   *  you may not use this file except in compliance with the License.
14   *  You may obtain a copy of the License at
15   *
16   *      http://www.apache.org/licenses/LICENSE-2.0
17   *
18   *  Unless required by applicable law or agreed to in writing, software
19   *  distributed under the License is distributed on an "AS IS" BASIS,
20   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21   *  See the License for the specific language governing permissions and
22   *  limitations under the License.
23   * ====================================================================
24   *
25   * This file is part of the EJOE.
26   * For more information on the author, please see
27   * <http://www.manskes.de/>.
28   *
29   *********************************************************************/
30  
31  package de.netseeker.ejoe.request;
32  
33  import java.io.Serializable;
34  
35  /***
36   * @author netseeker
37   * @since 0.3.9.1
38   */
39  public class ClassloaderRequest implements Serializable, IRequest
40  {
41      public static final String UNIQUE_NAME="de.netseeker.ejoe.request.ClassloaderRequest";
42      
43      private static final long serialVersionUID = 1L;
44  
45      private String            className;
46  
47      /***
48       * 
49       */
50      public ClassloaderRequest()
51      {
52          super();
53      }
54  
55      /***
56       * 
57       */
58      public ClassloaderRequest(String className)
59      {
60          this.className = className;
61      }
62  
63      /***
64       * @return Returns the className.
65       */
66      public String getClassName()
67      {
68          return className;
69      }
70  
71      /***
72       * @param className The className to set.
73       */
74      public void setClassName( String className )
75      {
76          this.className = className;
77      }
78  
79      /* (non-Javadoc)
80       * @see de.netseeker.ejoe.request.IRequest#getUniqueName()
81       */
82      public String getUniqueName()
83      {
84          return UNIQUE_NAME;
85      }
86  }