BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.mbeans.custom
Class Domain

java.lang.Object
  |
  +--javax.management.NotificationBroadcasterSupport
        |
        +--weblogic.management.internal.DynamicMBeanImpl
              |
              +--weblogic.management.internal.ConfigurationMBeanImpl
                    |
                    +--weblogic.management.mbeans.custom.Domain

public final class Domain
extends weblogic.management.internal.ConfigurationMBeanImpl

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.
See Also:
Serialized Form

Fields inherited from class weblogic.management.internal.ConfigurationMBeanImpl
adminObjectName
 
Fields inherited from class weblogic.management.internal.DynamicMBeanImpl
ADMIN, CONFIG, localizing, mbean, mbeanServer, mbeanType, name, NAME_ATTRIBUTE, objectName, parent, registered, RUNTIME, type
 
Constructor Summary
Domain(java.lang.String type)
           
 
Method Summary
 void convertWLPropertiesToConfigXML(java.lang.String dirToConvertIn, java.lang.String[] sProps, java.lang.String[] cProps, java.lang.String domainName, java.lang.String home, java.lang.String asName, java.lang.String output)
           
 boolean discoverManagedServer(weblogic.management.xml.ManagedServer ms)
           
 boolean discoverManagedServer(java.lang.String serverName)
           
 void discoverManagedServers()
           
 java.lang.Object[] getDisconnectedManagedServers()
           
 WebLogicObjectName getRepository()
           
 java.lang.String getRootDirectory()
           
 WebLogicObjectName[] getServers()
          Custom implementation for getServers() defined in DomainMBean interface.
 boolean isClusterConstraintsEnabled()
           
 boolean isProductionModeEnabled()
           
 java.util.HashMap kill()
           
 void setClusterConstraintsEnabled(boolean enableClusterConstraints)
           
 void setProductionModeEnabled(boolean productionModeEnabled)
           
 void setRepository(WebLogicObjectName repositoryArg)
           
 java.util.HashMap start()
           
 
Methods inherited from class weblogic.management.internal.ConfigurationMBeanImpl
bootstrap, clone, cloneCustomToConfig, freezeCurrentValue, getAdminMBeanHome, getAttribute, getAttributeStringValue, getAttributeXmlValue, getMBeanHome, getPersistMap, getRemoteMBeanServer, getSetFields, invoke, isCachingDisabled, markAttributeModified, markMBeanNotDefaulted, postDeregister, postRegister, preRegister, registerConfigMBean, restoreDefaultValue, setAttribute, setPersistMap, setRemoteMBeanServer, toString, touch, unRegisterConfigMBean
 
Methods inherited from class weblogic.management.internal.DynamicMBeanImpl
add, compareTo, copyFrom, disableNotifications, enableNotifications, ensureArgumentLocality, getAttributeInfo, getAttributes, getDefaultAttributeValue, getExtendedAttributeInfo, getExtendedOperationInfo, getLocalMBeanHome, getMBeanInfo, getMBeanType, getName, getObjectName, getParent, getSetAttributes, getType, getXAttributeInfo, invokeLocally, isAdmin, isConfig, isRegistered, isRuntime, isSet, markAttributeModified, preDeregister, remove, sendNotification, setAttributes, setLocalMBeanHome, setName, setParent, setParent, setType, unSet, valuesGet, valuesPut
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Domain

public Domain(java.lang.String type)
Method Detail

getRootDirectory

public java.lang.String getRootDirectory()

getRepository

public WebLogicObjectName getRepository()

getServers

public WebLogicObjectName[] getServers()
Custom implementation for getServers() defined in DomainMBean interface. Although the interface defines a return type of ServerMBean[], this method returns WebLogicObjectName[]. Since all call's to the Typed interface's go through the MBeanProxy, proxy will wrap these Object names to their corresponding MBean's.

Returns:
Array of weblogic object names

isProductionModeEnabled

public boolean isProductionModeEnabled()

setRepository

public void setRepository(WebLogicObjectName repositoryArg)

setProductionModeEnabled

public void setProductionModeEnabled(boolean productionModeEnabled)

isClusterConstraintsEnabled

public boolean isClusterConstraintsEnabled()

setClusterConstraintsEnabled

public void setClusterConstraintsEnabled(boolean enableClusterConstraints)

discoverManagedServers

public void discoverManagedServers()

discoverManagedServer

public boolean discoverManagedServer(java.lang.String serverName)

discoverManagedServer

public boolean discoverManagedServer(weblogic.management.xml.ManagedServer ms)

getDisconnectedManagedServers

public java.lang.Object[] getDisconnectedManagedServers()

start

public java.util.HashMap start()
                        throws weblogic.server.ServerLifecycleException

kill

public java.util.HashMap kill()
                       throws weblogic.server.ServerLifecycleException

convertWLPropertiesToConfigXML

public void convertWLPropertiesToConfigXML(java.lang.String dirToConvertIn,
                                           java.lang.String[] sProps,
                                           java.lang.String[] cProps,
                                           java.lang.String domainName,
                                           java.lang.String home,
                                           java.lang.String asName,
                                           java.lang.String output)
                                    throws java.lang.Exception

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b