01: /**
02: * $Id: PortalServerInstanceMBean.java,v 1.11 2006/01/06 11:46:07 jj154728 Exp $
03: * Copyright 2004 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.fabric.mbeans;
14:
15: import com.sun.portal.admin.common.PSMBeanException;
16: import com.sun.portal.admin.common.util.AdminUtil;
17: import com.sun.portal.admin.server.mbeans.PSMBean;
18:
19: public interface PortalServerInstanceMBean extends PSMBean {
20:
21: public static final String TYPE = AdminUtil.PORTAL_SERVER_INSTANCE_MBEAN_TYPE;
22:
23: public String getID();
24:
25: public String getHost();
26:
27: public String getPort();
28:
29: public Boolean isLocal();
30:
31: public Boolean configureContainer(String confDir, String instanceID)
32: throws PSMBeanException;
33:
34: public void deploy(String uri) throws PSMBeanException;
35:
36: public void deployAll() throws PSMBeanException;
37:
38: public void undeploy(String uri) throws PSMBeanException;
39:
40: public void undeployAll() throws PSMBeanException;
41:
42: public void stop() throws PSMBeanException;
43:
44: public void start() throws PSMBeanException;
45:
46: public void restart() throws PSMBeanException;
47:
48: public String getMBeanServerConnectionInfo()
49: throws PSMBeanException;
50:
51: public void setMBeanServerConnectionInfo(String connectionInfo)
52: throws PSMBeanException;
53: }
|