BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface StartupClassMBean


public interface StartupClassMBean
extends weblogic.management.configuration.ClassDeploymentMBean

Provides methods that configure startup classes.

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.DeploymentMBean
CACHING_STUB_SVUID, DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 boolean getFailureIsFatal()
          Determines whether a failure in this startup class prevents a server from starting.
 boolean getLoadBeforeAppDeployments()
          Determines whether a startup class is loaded and run before the server deploys applications and EJBs.
 void setFailureIsFatal(boolean flag)
          Determines whether a failure in this startup class prevents a server from starting.
 void setLoadBeforeAppDeployments(boolean flag)
          Determines whether a startup class is loaded and run before the server deploys applications and EJBs.
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
 
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

getFailureIsFatal

public boolean getFailureIsFatal()
Determines whether a failure in this startup class prevents a server from starting. If this check box is cleared (or if you use an API to specify a value of false) and the startup class fails, the server continues its startup process.

Default Value: false
Returns:
The failureIsFatal value

setFailureIsFatal

public void setFailureIsFatal(boolean flag)
Determines whether a failure in this startup class prevents a server from starting. If this check box is cleared (or if you use an API to specify a value of false) and the startup class fails, the server continues its startup process.

Default Value: false
Parameters:
flag - The new failureIsFatal value

getLoadBeforeAppDeployments

public boolean getLoadBeforeAppDeployments()
Determines whether a startup class is loaded and run before the server deploys applications and EJBs. If you specify true for this option, the server loads the class after it deploys JDBC connection pools and before it deploys Web applications and EJBs.

If you specify false, the server loads the class after all other types of modules have been deployed.

Default Value: false
Returns:
The loadBeforeAppDeployments value

setLoadBeforeAppDeployments

public void setLoadBeforeAppDeployments(boolean flag)
Determines whether a startup class is loaded and run before the server deploys applications and EJBs. If you specify true for this option, the server loads the class before it deploys JDBCConnectionPools, Web applications or EJBs.

Default Value: false
Parameters:
flag - The new loadBeforeAppDeployments value

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