Method Summary |
|
protected void | addNotificationListener(PASMechanism pasMechanism) Adds listener to receive JMX connection notifications. |
protected static Set | getChildren(String type) Returns the immediate children of the given type.
Parameters: type - the type of a Portal Server resource. |
protected File[] | getFilesInDirectory(String directory) Returns the files in the given directory. |
protected Set | getJMXConnectorServers() Returns the object names of the JMX connector server MBeans
registered to the MBean server. |
public static MBeanServer | getMBeanServer() Returns the MBean server where all the portal admin MBeans run on. |
protected static void | initPortalDomainContext(String domainID) Loads the portal domain context with the given ID and registers
all the Portal Server MBeans in it. |
protected void | loadPortalResources(String psBaseDir) Loads the portal resources. |
protected static void | registerPASInstanceToDomain(PortalDomainContext pdc) Registers this PAS instance to the portal domain with the given
context by adding the name of the local host to the
host attribute of the portal domain. |
protected static void | registerPSMBeans(String domainID) Instantiates and registers all the Portal Server MBeans in the
portal domain with the given ID. |
protected void | registerPSMBeans() Instantiates and registers all the Portal Server MBeans. |
protected static void | registerResourceMBeans(PSConfigContext cc, PortalDomainContext pdc, String type, List parentPath) Registers the portal MBeans with the given type under a parent
MBeans with the given path in the given portal domain context. |
public void | reloadMBeans(String domainID, String type, List parentPath) |
public static void | reloadMBeans(PortalDomainContext pdc, String type, List parentPath) Invokes the reloadMBeans operation on all the
running PAS instances in the portal domain with the given
context to reload the MBeans of the given type under a parent
with the given path. |
protected void | removeNotificationListener(PASMechanism pasMechanism) Removes JMX connection notification listener. |
protected void | start() This method first reads all the portal domains located in the
portal domains directory and registers the portal MBeans to the
MBean server. |
protected void | stop() Stops the Portal Admin Server cacao module. |
protected void | unregisterPASInstanceFromDomain(String domainID) Unregisters this PAS instance from the portal domain with the
given ID by removing the name of the local host from the
host attribute of the portal domain. |
protected void | unregisterPSMBeans() Unregisters all the Portal Server MBeans. |
protected void | unregisterResourceMBeans(String domainID, String type, List parentPath) Unregisters the portal MBeans with the given type under a parent
MBeans with the given path in the portal domain with the given ID. |