KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > server > kernel > Implementation


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.server.kernel;
10
11
12
13 /**
14  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
15  * @version $Revision: 1.1.1.1 $
16  */

17 public class Implementation implements ServiceImplementation
18 {
19    private final Entry entry;
20    final Service service;
21
22    public Implementation(Entry entry, Service service)
23    {
24       this.entry = entry;
25       this.service = service;
26    }
27
28    public ServiceID getID()
29    {
30       return entry.id;
31    }
32
33    public Service getService()
34    {
35       return service;
36    }
37 }
38
Popular Tags