|
Oracle Fusion Middleware Java API Reference for Oracle Event Processing 11g Release 1 (11.1.1.7) E14303-11 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This MBean is the root of Weblogic Event Server configuration MBeans. This MBean needs to be accessed to get to the deployed application's ApplicationMBean. This MBean is a notification emitter of AttributeChangeNotification
for attribute value changes of the ApplicationMBeans property, and of the ServerMBeans property. The following example shows how to access the DomainMBean:
ObjectName domainBeanName = ObjectName.getInstance("com.bea.wlevs:Name=" + domainName + ",Type=Domain"); DomainMBean domainBean = (DomainMBean) MBeanServerInvocationHandler .newProxyInstance(mbsc, domainBeanName, DomainMBean.class, false);
Field Summary | |
static java.lang.String |
MBEAN_TYPE This MBean is registered using the following MBEAN_TYPE. |
Method Summary | |
javax.management.ObjectName[] |
getApplicationMBeans() Returns an array of ObjectName of the ApplicationMBeans that have been deployed in the current WebLogic Event Server instance. |
java.lang.String[] |
getGroupNames() Returns an array of group names that exist in the domain. |
javax.management.ObjectName[] |
getServerMBeans() This method returns ObjectName for all WebLogic Event Servers available in the domain. |
javax.management.ObjectName |
lookupApplicationMBean(java.lang.String name) Returns the ObjectName of the ApplicationMBean. |
java.lang.String[] |
lookupApplicationsInGroup(java.lang.String groupName) Returns an array of String containing the name of all applications that are part of the group specified by groupName |
javax.management.ObjectName[] |
lookupGroupMembers(java.lang.String groupName) Deprecated. Use lookupServersInGroup instead. |
javax.management.ObjectName |
lookupServerMBean(java.lang.String name) Returns the ObjectName for the ServerMBean. |
javax.management.ObjectName[] |
lookupServersInGroup(java.lang.String groupName) Returns an array of ObjectName for all servers that are part of the group specified by groupName |
Methods inherited from interface com.bea.wlevs.management.WebLogicMBean |
getName, getObjectName, getType |
Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
public static final java.lang.String MBEAN_TYPE
Method Detail |
public javax.management.ObjectName[] getApplicationMBeans() throws javax.management.JMException
ObjectName
of the ApplicationMBeans that have been deployed in the current WebLogic Event Server instance. Note that it does not return ApplicationMBeans for all applications of the domain.ApplicationMBean
public javax.management.ObjectName lookupApplicationMBean(java.lang.String name) throws javax.management.JMException
ObjectName
of the ApplicationMBean.name
- - Name of the ApplicationMBeanpublic javax.management.ObjectName[] getServerMBeans() throws javax.management.JMException
ObjectName
for all WebLogic Event Servers available in the domain. The local server is guaranteed to be the first ObjectName
in the list.public javax.management.ObjectName lookupServerMBean(java.lang.String name) throws javax.management.JMException
ObjectName
for the ServerMBean.name
- - server namepublic java.lang.String[] getGroupNames() throws javax.management.JMException
public javax.management.ObjectName[] lookupGroupMembers(java.lang.String groupName) throws javax.management.JMException
lookupServersInGroup
instead.ObjectName
for all servers that are part of the group specified by groupName
groupName
- public javax.management.ObjectName[] lookupServersInGroup(java.lang.String groupName) throws javax.management.JMException
ObjectName
for all servers that are part of the group specified by groupName
groupName
- public java.lang.String[] lookupApplicationsInGroup(java.lang.String groupName) throws javax.management.JMException
String
containing the name of all applications that are part of the group specified by groupName
groupName
-
|
Copyright © 2007, 2013 Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |