BEA Systems, Inc.

WebLogic Server 6.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 © 2001 BEA Systems, Inc. All Rights Reserved.

Field Summary
static long CACHING_STUB_SVUID
           
 
Method Summary
 java.lang.String getArguments()
          Returns the start up arguments used to start up this server.
 java.lang.String getBeaHome()
          Returns the BEA home to be used to start this server.
 java.lang.String getClassPath()
          Returns the classpath to be used to start this server.
 java.lang.String getJavaHome()
          Returns the Java home to be used to start this server.
 java.lang.String getRootDirectory()
          Returns the RootDirectory to be used to start this server.
 java.lang.String getSecurityPolicyFile()
          Returns the security policy file to be used to start this server.
 void setArguments(java.lang.String classpath)
          Set the arguments that are to used to start up this server.
 void setBeaHome(java.lang.String path)
          Set the BEA home to be used to start 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 setRootDirectory(java.lang.String path)
          Set the RootDirectory to be used to start this server.
 void setSecurityPolicyFile(java.lang.String filePath)
          Set the security policy file to be used to start this server.
 
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
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
Method Detail

getJavaHome

public java.lang.String getJavaHome()
Returns the Java home to be used to start this server. Note that this path is on the remote machine. java (or java.exe in windows) will be pickedup from this JavaHome/bin directory to start the managed server.


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 remote machine. java (or java.exe in windows) should be present at this JavaHome/bin directory.


getClassPath

public java.lang.String getClassPath()
Returns the classpath to be used to start this server. Note that this path is on the remote machine.


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 remote machine.


getBeaHome

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


setBeaHome

public void setBeaHome(java.lang.String path)
                throws javax.management.InvalidAttributeValueException
Set the BEA home to be used to start this server. Note that this path is on the remote machine.


getRootDirectory

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


setRootDirectory

public void setRootDirectory(java.lang.String path)
                      throws javax.management.InvalidAttributeValueException
Set the RootDirectory to be used to start this server. Note that this path is on the remote machine.


getSecurityPolicyFile

public java.lang.String getSecurityPolicyFile()
Returns the security policy file to be used to start this server. Note that this file is on the remote machine.


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 remote machine. Both an absolute file path and a path relative to the server root directory should work.


getArguments

public java.lang.String getArguments()
Returns the start up arguments used to start up this server.


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".


setOutputFile

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


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

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