Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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.

Since:
10.3.4.0

Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  String getArguments()
          The arguments to use when starting this server.
abstract  String getBeaHome()
          Deprecated. 12.1.3.0 replaced by #getMWHome
abstract  String getClassPath()
          The classpath (path on the machine running Node Manager) to use when starting this server.
abstract  String getJavaHome()
          The Java home directory (path on the machine running Node Manager) to use when starting this server.
abstract  String getJavaVendor()
          The Java Vendor value to use when starting this server.
abstract  String getMWHome()
          The MWHome directory (path on the machine running Node Manager) to use when starting this server.
abstract  String getRootDirectory()
          The directory that this server uses as its root directory.
abstract  void setArguments(String classpath)
          Set the value of the Arguments attribute.
abstract  void setBeaHome(String path)
          Deprecated. 12.1.3.0 replaced by #setMWHome
abstract  void setClassPath(String classpath)
          Sets the value of the ClassPath attribute.
abstract  void setJavaHome(String path)
          Sets the value of the JavaHome attribute.
abstract  void setJavaVendor(String vendor)
          Sets the value of the JavaVendor attribute.
abstract  void setMWHome(String path)
          Sets the value of the MWHome attribute.
abstract  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
Since:
10.3.4.0

setJavaVendor

void setJavaVendor(String vendor)
                   throws InvalidAttributeValueException

Sets the value of the JavaVendor attribute. .

Parameters:
vendor - The new javaVendor value
Throws:
InvalidAttributeValueException
Since:
10.3.4.0
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
Since:
10.3.4.0
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
Since:
10.3.4.0

setClassPath

void setClassPath(String classpath)
                  throws InvalidAttributeValueException

Sets the value of the ClassPath attribute.

Parameters:
classpath - The new classPath value
Throws:
InvalidAttributeValueException
Since:
10.3.4.0
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:&#92Oracle&#92Middleware&#92.

Returns:
The beaHome value
Since:
10.3.4.0

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
Since:
10.3.4.0
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
Since:
12.1.3.0

setMWHome

void setMWHome(String path)
               throws InvalidAttributeValueException

Sets the value of the MWHome attribute.

Parameters:
path - The new MWHome value
Throws:
InvalidAttributeValueException
Since:
12.1.3.0
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
Since:
10.3.4.0

setRootDirectory

void setRootDirectory(String path)
                      throws InvalidAttributeValueException

Sets the value of the RootDirectory attribute.

Parameters:
path - The new rootDirectory value
Throws:
InvalidAttributeValueException
Since:
10.3.4.0
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
Since:
10.3.4.0

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
Since:
10.3.4.0
See Also:
ManagedExternalServerStartMBean.getArguments()

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09