KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > jbi > registry > mock > MockLinkRef


1 /**
2  * PETALS - PETALS Services Platform.
3  * Copyright (c) 2005 EBM Websourcing, http://www.ebmwebsourcing.com/
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  *
18  * -------------------------------------------------------------------------
19  * $Id: MockLinkRef.java 15:30:43 ddesjardins $
20  * -------------------------------------------------------------------------
21  */

22 package org.objectweb.petals.jbi.registry.mock;
23
24 import javax.naming.LinkRef JavaDoc;
25
26 /**
27  * Mock object of the LinkRef
28  *
29  * @author ddesjardins - eBMWebsourcing
30  */

31 public class MockLinkRef extends LinkRef JavaDoc {
32
33     public MockLinkRef(String JavaDoc linkName) {
34         super(linkName);
35     }
36
37     /**
38      *
39      */

40     private static final long serialVersionUID = 1L;
41
42     private String JavaDoc className;
43
44     public String JavaDoc getClassName() {
45         return className;
46     }
47
48     public void setClassName(String JavaDoc className) {
49         this.className = className;
50     }
51
52 }
53
Popular Tags