KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > jbi > management > deployment > ServiceAssemblyDataHandler


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 $
20  * -------------------------------------------------------------------------
21  */

22 package org.objectweb.petals.jbi.management.deployment;
23
24 import java.net.URI JavaDoc;
25
26 import org.objectweb.petals.tools.jbicommon.descriptor.JBIDescriptor;
27
28 /**
29  *
30  * @author ofabre
31  *
32  */

33 public class ServiceAssemblyDataHandler {
34
35     private String JavaDoc name;
36
37     private JBIDescriptor descriptor;
38
39     private URI JavaDoc archiveURI;
40
41     public ServiceAssemblyDataHandler(String JavaDoc name, JBIDescriptor descriptor,
42             URI JavaDoc archiveURI) {
43         super();
44         this.name = name;
45         this.descriptor = descriptor;
46         this.archiveURI = archiveURI;
47     }
48
49     public URI JavaDoc getArchiveURI() {
50         return archiveURI;
51     }
52
53     public void setArchiveURI(URI JavaDoc archiveURI) {
54         this.archiveURI = archiveURI;
55     }
56
57     public JBIDescriptor getDescriptor() {
58         return descriptor;
59     }
60
61     public void setDescriptor(JBIDescriptor descriptor) {
62         this.descriptor = descriptor;
63     }
64
65     public String JavaDoc getName() {
66         return name;
67     }
68
69     public void setName(String JavaDoc name) {
70         this.name = name;
71     }
72
73 }
74
Popular Tags