01: package vicazh.hyperpool;
02:
03: /**
04: * This class is the superclass of all graphic services
05: *
06: * @author Victor Zhigunov
07: * @version 0.4.0
08: */
09: abstract public class IService extends IElement implements ServiceMBean {
10: /**
11: * @param interfaceClass
12: * interface class
13: * @param name
14: * service name
15: */
16: public IService(Class<?> interfaceClass, String name) {
17: super (interfaceClass, name);
18: }
19:
20: private ElementMBean element;
21:
22: public void setElement(ElementMBean element) {
23: this .element = element;
24: }
25:
26: public ElementMBean getElement() {
27: return element;
28: }
29: }
|