BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface ServerStartMBean


public interface ServerStartMBean
extends ConfigurationMBean

This bean is used to configure the attributes necessary to start up a server on a remote machine.

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

Field Summary
static long CACHING_STUB_SVUID
          Description of the Field
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 java.lang.String getArguments()
          The startup arguments to use when starting this server.
 java.lang.String getBeaHome()
          Returns the BEA home to be used to start this server.
 java.lang.String getClassPath()
          The classpath to use when starting this server.
 java.lang.String getJavaHome()
          The Java home directory (on the Node Manager machine) to use when starting this server.
 java.lang.String getPassword()
          The password of the username used to boot the server and perform server health monitoring.
 java.lang.String getRootDirectory()
          Returns the RootDirectory to be used to start this server.
 java.lang.String getSecurityPolicyFile()
          The security policy file to use when starting this server.
 java.lang.String getUsername()
          The username to use when booting the server and performing server health monitoring.
 void setArguments(java.lang.String classpath)
          Set the arguments that are to used to start up this server.
 void setBeaHome(java.lang.String path)
          The BEA home directory to use when starting this server.
 void setClassPath(java.lang.String classpath)
          Set the classpath to be used to start this server.
 void setJavaHome(java.lang.String path)
          Set the Java home to be used to start this server.
 void setOutputFile(java.lang.String fileName)
          Sets the file containing the data generated as a result of the start operation.
 void setPassword(java.lang.String password)
          Sets the password attribute of the ServerStartMBean object
 void setRootDirectory(java.lang.String path)
          The root directory to use when starting this server.
 void setSecurityPolicyFile(java.lang.String filePath)
          Set the security policy file to be used to start this server.
 void setUsername(java.lang.String username)
          Sets the username attribute of the ServerStartMBean object
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, 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, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
Description of the Field
Method Detail

getJavaHome

public java.lang.String getJavaHome()
The Java home directory (on the Node Manager machine) to use when starting this server. The java binary (or java.exe executable in Windows) is taken from the Java home /bin directory to start the managed server.

Returns:
The javaHome value

setJavaHome

public void setJavaHome(java.lang.String path)
                 throws javax.management.InvalidAttributeValueException
Set the Java home to be used to start this server. Note that this path is on the Node MAnager machine. java (or java.exe in windows) should be present at this JavaHome/bin directory.

Parameters:
path - The new javaHome value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getClassPath

public java.lang.String getClassPath()
The classpath to use when starting this server. Note that all paths refer to paths on the Node Manager machine.

Returns:
The classPath value

setClassPath

public void setClassPath(java.lang.String classpath)
                  throws javax.management.InvalidAttributeValueException
Set the classpath to be used to start this server. Note that this path is on the Node Manager machine.

Parameters:
classpath - The new classPath value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getBeaHome

public java.lang.String getBeaHome()
Returns the BEA home to be used to start this server. Note that this path is on the Node Manager machine.

Returns:
The beaHome value

setBeaHome

public void setBeaHome(java.lang.String path)
                throws javax.management.InvalidAttributeValueException
The BEA home directory to use when starting this server. Note that this describes the path on the Node Manager machine.

Parameters:
path - The new beaHome value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getRootDirectory

public java.lang.String getRootDirectory()
Returns the RootDirectory to be used to start this server. Note that this path is on the Node Manager machine.

Returns:
The rootDirectory value

setRootDirectory

public void setRootDirectory(java.lang.String path)
                      throws javax.management.InvalidAttributeValueException
The root directory to use when starting this server. The root directory describes the path to the managed server's domain directory on the Node Manager machine.

Parameters:
path - The new rootDirectory value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getSecurityPolicyFile

public java.lang.String getSecurityPolicyFile()
The security policy file to use when starting this server. Note that the directory and filename refer to a path on the Node Manager machine.

Returns:
The securityPolicyFile value

setSecurityPolicyFile

public void setSecurityPolicyFile(java.lang.String filePath)
                           throws javax.management.InvalidAttributeValueException
Set the security policy file to be used to start this server. Note that this file is on the Node Manager machine. Both an absolute file path and a path relative to the server root directory should work.

Parameters:
filePath - The new securityPolicyFile value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getArguments

public java.lang.String getArguments()
The startup arguments to use when starting this server.

Returns:
The arguments value

setArguments

public void setArguments(java.lang.String classpath)
                  throws javax.management.InvalidAttributeValueException
Set the arguments that are to used to start up this server. Note that the arguments are those used in addition to the classpath and the security policy option mentioned above. Examples include "-msXXm -mxYYm".

Parameters:
classpath - The new arguments value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

setOutputFile

public void setOutputFile(java.lang.String fileName)
Sets the file containing the data generated as a result of the start operation.

Parameters:
fileName - The new outputFile value

getUsername

public java.lang.String getUsername()
The username to use when booting the server and performing server health monitoring.

Default Value: ""
Returns:
The username value

setUsername

public void setUsername(java.lang.String username)
                 throws javax.management.InvalidAttributeValueException
Sets the username attribute of the ServerStartMBean object

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

getPassword

public java.lang.String getPassword()
The password of the username used to boot the server and perform server health monitoring.

Default Value: ""
Returns:
The password value

setPassword

public void setPassword(java.lang.String password)
                 throws javax.management.InvalidAttributeValueException
Sets the password attribute of the ServerStartMBean object

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

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