01: package com.sun.portal.sra.admin.mbeans;
02:
03: import com.sun.portal.admin.common.PSMBeanException;
04: import com.sun.portal.admin.server.mbeans.PSMBean;
05:
06: import javax.management.ObjectName;
07: import java.util.List;
08: import java.util.Properties;
09:
10: /**
11: * Author: fa151985 Date: Feb 25, 2005 Time: 2:37:36 PM
12: */
13: public interface SRAMBean extends PSMBean {
14: /* Gateway Mbean methods */
15: public Boolean CreateGWInstance(Properties properties)
16: throws PSMBeanException;
17:
18: public Boolean StartGateway(String s) throws PSMBeanException;
19:
20: public Boolean StopGateway(String instance) throws PSMBeanException;
21:
22: public String[] ListGatewayInstances() throws PSMBeanException;
23:
24: public Boolean RemoveGWInstance(String instance)
25: throws PSMBeanException;
26:
27: public Boolean ChangeLogUserPassword(String instance,
28: String password) throws PSMBeanException;
29:
30: public Boolean SraWatchdog(String type, String password,
31: Boolean toSet) throws PSMBeanException;
32:
33: public Boolean createNewProfile(String oldProfileName,
34: String newProfileName) throws PSMBeanException;
35:
36: public Boolean deleteProfile(String profileName)
37: throws PSMBeanException;
38:
39: /* NLP Mbean methods */
40:
41: public Boolean CreateNLPInstance(Properties properties)
42: throws PSMBeanException;
43:
44: public Boolean StartNetletd(String s) throws PSMBeanException;
45:
46: public Boolean StopNetletd(String instance) throws PSMBeanException;
47:
48: public String[] ListNLPInstances() throws PSMBeanException;
49:
50: public Boolean RemoveNLPInstance(String instance)
51: throws PSMBeanException;
52:
53: /* RWP Mbean methods */
54: public Boolean CreateRWPInstance(Properties properties)
55: throws PSMBeanException;
56:
57: public Boolean StartRWProxy(String s) throws PSMBeanException;
58:
59: public Boolean StopRWProxy(String instance) throws PSMBeanException;
60:
61: public String[] ListRWPInstances() throws PSMBeanException;
62:
63: public Boolean RemoveRWPInstance(String instance)
64: throws PSMBeanException;
65:
66: public List ListAllKnownProfiles() throws PSMBeanException;
67:
68: public Boolean IsInstanceStarted(String instanceType,
69: String profileName, String hostname, Integer portNumber)
70: throws PSMBeanException;
71:
72: public Boolean IsInstanceStopped(String instanceType,
73: String profileName, String hostname, Integer portNumber)
74: throws PSMBeanException;
75:
76: public String GetNetletProxyPort(String profileName)
77: throws PSMBeanException;
78:
79: public String GetRewriterProxyPort(String profileName)
80: throws PSMBeanException;
81:
82: public String GetInstancePlatformConfProperty(String profileName,
83: String propertyName) throws PSMBeanException;
84:
85: public Boolean changeSRAStatus(final String sSRAStatus)
86: throws PSMBeanException;
87:
88: public String retrieveSRAStatus() throws PSMBeanException;
89:
90: public Boolean isServiceAssignedToOrg(String serviceName, String dn)
91: throws PSMBeanException;
92:
93: public Boolean checkProfileExists(String host, String instanceName)
94: throws PSMBeanException;
95: }
|