Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.configuration
Interface ManagedExternalServerStartMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean
All Known Subinterfaces:
CoherenceServerStartMBean, SystemComponentStartMBean

public interface ManagedExternalServerStartMBean
extends ConfigurationMBean

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

Changes take effect after you redeploy the module or restart the server.

Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getArguments()
          The arguments to use when starting this server.
 String getBeaHome()
          Deprecated. 12.1.3.0 replaced by #getMWHome
 String getClassPath()
          The classpath (path on the machine running Node Manager) to use when starting this server.
 String getJavaHome()
          The Java home directory (path on the machine running Node Manager) to use when starting this server.
 String getJavaVendor()
          The Java Vendor value to use when starting this server.
 String getMWHome()
          The MWHome directory (path on the machine running Node Manager) to use when starting this server.
 String getRootDirectory()
          The directory that this server uses as its root directory.
 void setArguments(String classpath)
          Set the value of the Arguments attribute.
 void setBeaHome(String path)
          Deprecated. 12.1.3.0 replaced by #setMWHome
 void setClassPath(String classpath)
          Sets the value of the ClassPath attribute.
 void setJavaHome(String path)
          Sets the value of the JavaHome attribute.
 void setJavaVendor(String vendor)
          Sets the value of the JavaVendor attribute.
 void setMWHome(String path)
          Sets the value of the MWHome attribute.
 void setRootDirectory(String path)
          Sets the value of the RootDirectory attribute.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, 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
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 

Method Detail

getJavaVendor

String getJavaVendor()

The Java Vendor value to use when starting this server.

If the server is part of a cluster and configured for automatic migration across possibly different platforms with different vendors providing the JDKs, then, both JavaVendor and JavaHome should be set in the generated configuration file instead.

Returns:
The javaVendor value

setJavaVendor

void setJavaVendor(String vendor)
                   throws InvalidAttributeValueException

Sets the value of the JavaVendor attribute. .

Parameters:
vendor - The new javaVendor value
Throws:
InvalidAttributeValueException
See Also:
ManagedExternalServerStartMBean.getJavaVendor()

getJavaHome

String getJavaHome()

The Java home directory (path on the machine running Node Manager) to use when starting this server.

Specify the parent directory of the JDK's bin directory. For example, c:\bea\jdk141.

Returns:
The javaHome value

setJavaHome

void setJavaHome(String path)
                 throws InvalidAttributeValueException

Sets the value of the JavaHome attribute. .

Parameters:
path - The new javaHome value
Throws:
InvalidAttributeValueException
See Also:
ManagedExternalServerStartMBean.getJavaHome()

getClassPath

String getClassPath()

The classpath (path on the machine running Node Manager) to use when starting this server.

If you need to add user classes to the classpath, in addition you will need to add the following: FEATURES_HOME/weblogic.server.modules.coherence.server_10.3.4.0.jar:COHERENCE_HOME/lib/coherence.jar

where FEATURES_HOME is the features directory (typically $MW_HOME/modules/features) and COHERENCE_HOME the coherence directory (typically $MW_HOME/coherence_3.6) on the Node Manager machine. If you do not specify a classpath the above will be used automatically.

The operating system determines which character separates path elements. On Windows, use a semicolon (;). On UNIX a colon (:).

Returns:
The classPath value

setClassPath

void setClassPath(String classpath)
                  throws InvalidAttributeValueException

Sets the value of the ClassPath attribute.

Parameters:
classpath - The new classPath value
Throws:
InvalidAttributeValueException
See Also:
ManagedExternalServerStartMBean.getClassPath()

getBeaHome

String getBeaHome()
Deprecated. 12.1.3.0 replaced by #getMWHome

The BEA home directory (path on the machine running Node Manager) to use when starting this server.

Specify the directory on the Node Manager machine under which all of Oracle's BEA products were installed. For example, c:\Oracle\Middleware\.

Returns:
The beaHome value

setBeaHome

void setBeaHome(String path)
                throws InvalidAttributeValueException
Deprecated. 12.1.3.0 replaced by #setMWHome

Sets the value of the BeaHome attribute.

Parameters:
path - The new beaHome value
Throws:
InvalidAttributeValueException
See Also:
ManagedExternalServerStartMBean.getBeaHome()

getMWHome

String getMWHome()

The MWHome directory (path on the machine running Node Manager) to use when starting this server.

Specify the directory on the Node Manager machine under which all of Oracle's MW products were installed. For example, c:\Oracle\Middleware\.

Returns:
The mwHome value

setMWHome

void setMWHome(String path)
               throws InvalidAttributeValueException

Sets the value of the MWHome attribute.

Parameters:
path - The new MWHome value
Throws:
InvalidAttributeValueException
See Also:
ManagedExternalServerStartMBean.getMWHome()

getRootDirectory

String getRootDirectory()

The directory that this server uses as its root directory. This directory must be on the computer that hosts the Node Manager. If you do not specify a Root Directory value, the domain directory is used by default.

Returns:
The rootDirectory value

setRootDirectory

void setRootDirectory(String path)
                      throws InvalidAttributeValueException

Sets the value of the RootDirectory attribute.

Parameters:
path - The new rootDirectory value
Throws:
InvalidAttributeValueException
See Also:
ManagedExternalServerStartMBean.getRootDirectory()

getArguments

String getArguments()

The arguments to use when starting this server.

These are the first arguments appended immediately after java portion of the startup command. For example, you can set Java heap memory or specify any weblogic.nodemanager.server.provider.WeblogicCacheServer option.

Separate arguments with a space.

Returns:
The arguments value

setArguments

void setArguments(String classpath)
                  throws InvalidAttributeValueException

Set the value of the Arguments attribute.

This property should not be used to specify weblogic.management.username or weblogic.management.password as these values will be ignored during server startup. Instead the username and password properties should be set. This will also enable node manager to properly encrypt these values on the managed server's machine.

Parameters:
classpath - The new arguments value
Throws:
InvalidAttributeValueException
See Also:
ManagedExternalServerStartMBean.getArguments()

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02