KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > clients > service > ServiceRefTLE


1 package org.objectweb.jonas.jtests.clients.service;
2
3 import org.objectweb.jonas_lib.deployment.xml.TopLevelElement;
4 import org.objectweb.jonas_lib.deployment.xml.ServiceRef;
5 import org.objectweb.jonas_lib.deployment.xml.JonasServiceRef;
6
7 public class ServiceRefTLE implements TopLevelElement {
8
9     private ServiceRef sr = null;
10     private JonasServiceRef jsr = null;
11
12     public void addServiceRef(ServiceRef sr) {
13         this.sr = sr;
14     }
15
16     public void addJonasServiceRef(JonasServiceRef jsr) {
17         this.jsr = jsr;
18     }
19
20     public ServiceRef getServiceRef() {
21         return sr;
22     }
23
24     public JonasServiceRef getJonasServiceRef() {
25         return jsr;
26     }
27
28 }
29
Popular Tags