BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.mbeans.custom
Class Server

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

public final class Server
extends DeploymentTarget

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

Fields inherited from class weblogic.management.mbeans.custom.DeploymentTarget
deployedDeployments, migratableTarget, server, webServer
 
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
Server(java.lang.String type)
           
 
Method Summary
 void generateNetworkAccessPoints()
          Generate network access point skeletons for each channel targeted at this server that does not already have a skeleton.
 java.lang.String getActiveDirectoryName()
          Active Dir is Same as Staging Dir for Acadia Release
 int getAdministrationPort()
           
 int getAdministrationPortAfterOverride()
          If the AdministrationPort != 0 then just return it Otherwise, get it from the DomainMBean
 java.lang.String getJDBCLogFileName()
           
 WebLogicObjectName getKernelDebug()
           
 java.io.Reader getLogs(java.lang.String type)
           
static java.lang.String getNameOfDefaultMigratableTargetFor(ServerMBean s)
          Return the name of the default migratable target that's associated with the server.
 java.lang.String getStagingDirectoryName()
           
 int getThreadPoolSize()
           
 java.lang.String getUploadDirectoryName()
           
 boolean isAdministrationPortEnabled()
          Helper method: get the admin port enable flag for the domain
 java.io.Reader kill()
           
 weblogic.management.runtime.ServerLifeCycleRuntimeMBean lookupServerLifeCycleRuntime()
           
 ServerRuntimeMBean lookupServerRuntime()
          This is the implementation of ServerMBean.getServerRuntime().
 void postRegister(java.lang.Boolean registrationDone)
           
 void setActiveDirectoryName(java.lang.String path)
           
 void setAdministrationPort(int portArg)
           
 void setCluster(WebLogicObjectName clusterName)
          Whenever a server is added to a cluster, create the server's default migratable target.
 void setJDBCLogFileName(java.lang.String logFileName)
           
 void setListenPort(int portArg)
           
 void setMessageIdPrefixEnabled(boolean prefix)
           
 void setStagingDirectoryName(java.lang.String path)
           
 void setThreadPoolSize(int size)
           
 java.io.Reader start()
           
 void stop()
           
 java.lang.String synchronousKill()
           
 java.lang.String synchronousStart()
           
 
Methods inherited from class weblogic.management.mbeans.custom.DeploymentTarget
addDeployment, addDeployment, isWeb, removeDeployment, removeDeployment, setDeployments, updateDeployments, updateWebDeployments
 
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, 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

Server

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

getNameOfDefaultMigratableTargetFor

public static java.lang.String getNameOfDefaultMigratableTargetFor(ServerMBean s)
Return the name of the default migratable target that's associated with the server.

Parameters:
s - Description of the Parameter
Returns:
The nameOfDefaultMigratableTargetFor value

getKernelDebug

public WebLogicObjectName getKernelDebug()

getLogs

public java.io.Reader getLogs(java.lang.String type)

getThreadPoolSize

public int getThreadPoolSize()

getJDBCLogFileName

public java.lang.String getJDBCLogFileName()

getStagingDirectoryName

public java.lang.String getStagingDirectoryName()

getUploadDirectoryName

public java.lang.String getUploadDirectoryName()

getActiveDirectoryName

public java.lang.String getActiveDirectoryName()
Active Dir is Same as Staging Dir for Acadia Release

Returns:
The activeDirectoryName value

isAdministrationPortEnabled

public boolean isAdministrationPortEnabled()
Helper method: get the admin port enable flag for the domain

Returns:
The administrationPortEnabled value

getAdministrationPortAfterOverride

public int getAdministrationPortAfterOverride()
If the AdministrationPort != 0 then just return it Otherwise, get it from the DomainMBean

Returns:
The administrationPortAfterOverride value

getAdministrationPort

public int getAdministrationPort()

setThreadPoolSize

public void setThreadPoolSize(int size)
                       throws javax.management.InvalidAttributeValueException

setListenPort

public void setListenPort(int portArg)
                   throws javax.management.InvalidAttributeValueException

setJDBCLogFileName

public void setJDBCLogFileName(java.lang.String logFileName)

setStagingDirectoryName

public void setStagingDirectoryName(java.lang.String path)

setActiveDirectoryName

public void setActiveDirectoryName(java.lang.String path)

setCluster

public void setCluster(WebLogicObjectName clusterName)
                throws javax.management.InvalidAttributeValueException
Whenever a server is added to a cluster, create the server's default migratable target. When a server is removed from a cluster delete the default migratable target for that server. The case where a server is deleted is handled in MBeanHomeImpl.

Parameters:
clusterName - The new cluster value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

setAdministrationPort

public void setAdministrationPort(int portArg)
                           throws javax.management.InvalidAttributeValueException

setMessageIdPrefixEnabled

public void setMessageIdPrefixEnabled(boolean prefix)

postRegister

public void postRegister(java.lang.Boolean registrationDone)

Overrides:
postRegister in class weblogic.management.internal.ConfigurationMBeanImpl

synchronousStart

public java.lang.String synchronousStart()

start

public java.io.Reader start()

synchronousKill

public java.lang.String synchronousKill()

kill

public java.io.Reader kill()

stop

public void stop()
          throws weblogic.server.ServerLifecycleException

lookupServerRuntime

public ServerRuntimeMBean lookupServerRuntime()
This is the implementation of ServerMBean.getServerRuntime().

Returns:
Description of the Return Value

lookupServerLifeCycleRuntime

public weblogic.management.runtime.ServerLifeCycleRuntimeMBean lookupServerLifeCycleRuntime()

generateNetworkAccessPoints

public void generateNetworkAccessPoints()
Generate network access point skeletons for each channel targeted at this server that does not already have a skeleton. Delete network access point mbeans if there is no corresponding channel targeting at this server. (Each skeletion must have the same name as the channel it overrides.)

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