KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > jbi > component > lifecycle > mock > ComponentDescriptionMock


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: ComponentDescriptionMock.java 12:09:31 PM ddesjardins $
20  * -------------------------------------------------------------------------
21  */

22 package org.objectweb.petals.jbi.component.lifecycle.mock;
23
24 import java.util.List JavaDoc;
25
26 import org.objectweb.petals.tools.jbicommon.descriptor.ComponentDescription;
27
28 /**
29  * Mock of the ComponentDescription
30  *
31  * @author ddesjardins - eBMWebsourcing
32  */

33 public class ComponentDescriptionMock extends ComponentDescription {
34
35     private IdentificationMock identification;
36
37     public IdentificationMock getIdentification() {
38         return identification;
39     }
40
41     private List JavaDoc<String JavaDoc> componentClassPath;
42
43     public void setIdentification(IdentificationMock identification) {
44         this.identification = identification;
45     }
46
47     public List JavaDoc<String JavaDoc> getComponentClassPath() {
48         return componentClassPath;
49     }
50
51    public void setComponentClassPath(List JavaDoc<String JavaDoc> componentClassPath) {
52         this.componentClassPath = componentClassPath;
53     }
54
55     private List JavaDoc<String JavaDoc> bootstrapClassPath;
56
57     public List JavaDoc<String JavaDoc> getBootstrapClassPath() {
58         return bootstrapClassPath;
59     }
60
61     public void setBootstrapClassPath(List JavaDoc<String JavaDoc> bootstrapClassPath) {
62         this.bootstrapClassPath = bootstrapClassPath;
63     }
64     
65     
66 }
67
Popular Tags