01: /*
02: * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.monitoring;
06:
07: import java.util.List;
08: import java.util.Map;
09:
10: public interface Subsystem {
11: public Boolean isDisabled();
12:
13: public String getNamingDomain();
14:
15: public Map getRegistry();
16:
17: public void registerMBean(Object mBeanObject, String objectName)
18: throws MonitoringException;
19:
20: public Boolean isRegistered(String objectName)
21: throws MonitoringException;
22:
23: public void unregisterMBean(String objectName)
24: throws MonitoringException;
25:
26: public Client getClient() throws MonitoringException;
27:
28: public void start() throws MonitoringException;
29:
30: public void stop(Boolean unregisterMBeans)
31: throws MonitoringException;
32:
33: public void destroy() throws MonitoringException;
34:
35: public List getImmortalMBeanObjectNames();
36:
37: public void setImmortalMBeanObjectNames(
38: List immortalMBeanObjectNames);
39:
40: public String getResourceBundleBaseName();
41:
42: public void setResourceBundleBaseName(String rbBaseName);
43: }
|