BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.configuration
Interface NodeManagerMBean


public interface NodeManagerMBean
extends ConfigurationMBean

This bean is used to represent a NodeManager that is associated with a machine. // REVIEW abyss@weblogic.com 28-Apr-01 -- // This should really be a runtime bean. Before we can support it as such, // a few things have to be put into place. // 1. Communication between the NodeManager and the Admin server needs to // heartbeat each other. When one or the other goes away and comes back, // an information exchange has to occur based on which a truly runtime // representation of the NodeManager can be built on the Admin server. This runtime mbean is created when a NodeManager contacts the Admin server.

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
 java.lang.String getCertificate()
          The certificate used for secure communications with the NodeManager.
 java.lang.String getCertificatePassword()
          The certificate password used for secure communications with the NodeManager
 java.lang.String getCertificateType()
          The certificate type used for secure communications with the NodeManager
 java.io.Reader getErrorLog(ServerStartMBean serverStartBean)
          Returns the error log of a perticular server.
 java.lang.String getListenAddress()
          The address that the NodeManager is listening on.
 int getListenPort()
          Returns the listen port of the NodeManager
 java.io.Reader getLogs()
          Returns the logs of the Node Manager.
 java.io.Reader getOutputLog(ServerStartMBean serverStartBean)
          Returns the output log of a particular server.
 java.lang.String getTrustedCertsFile()
          The trusted certs file password used for secure communications with the NodeManager.
 void setCertificate(java.lang.String certificate)
           
 void setCertificatePassword(java.lang.String certificatePassword)
           
 void setCertificateType(java.lang.String certificateType)
           
 void setDebugEnabled(boolean enable)
          Set the DebugEnabled value
 void setListenAddress(java.lang.String address)
           
 void setListenPort(int port)
          Set the listen port that the NodeManager is listening on.
 void setSSLEnabled(boolean enable)
          Set the SSLEnabled value
 void setTrustedCertsFile(java.lang.String trustedCertsFile)
           
 void startServer(ServerStartMBean serverStartBean)
          Starts up a server on the machine represented byte this Node Manager.
 void stopServer(ServerStartMBean serverStartBean)
          Stops a server on the machine represented byte this Node Manager.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
getNotes, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getListenAddress

public java.lang.String getListenAddress()
The address that the NodeManager is listening on.

Default Value: "localhost"

setListenAddress

public void setListenAddress(java.lang.String address)
                      throws javax.management.InvalidAttributeValueException


getListenPort

public int getListenPort()
Returns the listen port of the NodeManager

Default Value: 5555

setListenPort

public void setListenPort(int port)
Set the listen port that the NodeManager is listening on.

Legal Minimum Value: 1
Legal Maximum Value: 65534

setSSLEnabled

public void setSSLEnabled(boolean enable)
Set the SSLEnabled value


getCertificate

public java.lang.String getCertificate()
The certificate used for secure communications with the NodeManager. This is relative to the Admin server's RootDirectory.

Default Value: "config/demo.crt"

setCertificate

public void setCertificate(java.lang.String certificate)
                    throws javax.management.InvalidAttributeValueException


getCertificateType

public java.lang.String getCertificateType()
The certificate type used for secure communications with the NodeManager

Default Value: "RSA"

setCertificateType

public void setCertificateType(java.lang.String certificateType)
                        throws javax.management.InvalidAttributeValueException


getCertificatePassword

public java.lang.String getCertificatePassword()
The certificate password used for secure communications with the NodeManager

Default Value: "password"

setCertificatePassword

public void setCertificatePassword(java.lang.String certificatePassword)
                            throws javax.management.InvalidAttributeValueException


getTrustedCertsFile

public java.lang.String getTrustedCertsFile()
The trusted certs file password used for secure communications with the NodeManager. This is relative to the Admin server's RootDirectory.

Default Value: "config/trusted.crt"

setTrustedCertsFile

public void setTrustedCertsFile(java.lang.String trustedCertsFile)
                         throws javax.management.InvalidAttributeValueException


getLogs

public java.io.Reader getLogs()
Returns the logs of the Node Manager.


getOutputLog

public java.io.Reader getOutputLog(ServerStartMBean serverStartBean)
Returns the output log of a particular server.


getErrorLog

public java.io.Reader getErrorLog(ServerStartMBean serverStartBean)
Returns the error log of a perticular server.


startServer

public void startServer(ServerStartMBean serverStartBean)
Starts up a server on the machine represented byte this Node Manager.


stopServer

public void stopServer(ServerStartMBean serverStartBean)
Stops a server on the machine represented byte this Node Manager.


setDebugEnabled

public void setDebugEnabled(boolean enable)
Set the DebugEnabled value


Documentation is available at
http://e-docs.bea.com/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.