BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.configuration
Interface EJBContainerMBean

All Superinterfaces:
ConfigurationMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean
All Known Subinterfaces:
EJBComponentMBean

public interface EJBContainerMBean
extends ConfigurationMBean

This MBean is used to specify EJB container-wide settings. These can be overridden by a specific EJBComponentMBean.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getExtraEjbcOptions()
          Returns the extra options passed to ejbc during the dynamic ejbc of a jar file.
 String getExtraRmicOptions()
          The extra options passed to rmic during server-side generation are noted here.
 boolean getForceGeneration()
          Indicates whether the ForceGeneration is enabled.
 String getJavaCompiler()
          The path to the Java compiler to use to compile EJBs (e.g.
 String getJavaCompilerPostClassPath()
          Provides a list of the options to append to the Java compiler classpath when you compile Java code.
 String getJavaCompilerPreClassPath()
          Provides a list of the options to prepend to the Java compiler classpath when you compile Java code.
 boolean getKeepGenerated()
          indicates whether KeepGenerated is enabled and the ejbc source files will be kept.
 String getTmpPath()
          Deprecated.  
 String getVerboseEJBDeploymentEnabled()
          Indicates whether the VerboseEJBDeployment is enabled.
 void setExtraEjbcOptions(String options)
           
 void setExtraRmicOptions(String options)
          Sets the value of the extraRmicOptions attribute.
 void setForceGeneration(boolean f)
          Sets the forceGeneration attribute of the EJBContainerMBean object.
 void setJavaCompiler(String javaCompiler)
          Sets the value of the JavaCompiler attribute.
 void setJavaCompilerPostClassPath(String postClassPath)
          Sets the value of the JavaCompilerPostClassPath attribute.
 void setJavaCompilerPreClassPath(String preClassPath)
          Sets the javaCompilerPreClassPath attribute of the EJBContainerMBean object
 void setKeepGenerated(boolean f)
          Sets the value of the keepGenerated attribute.
 void setTmpPath(String path)
          Deprecated.  
 void setVerboseEJBDeploymentEnabled(String verbose)
          Sets the value of the VerboseEJBDeploymentEnabled attribute.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getName, getNotes, 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
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
 

Method Detail

getExtraEjbcOptions

public String getExtraEjbcOptions()

Returns the extra options passed to ejbc during the dynamic ejbc of a jar file. For example: -J-mx128m By default this value is null. If no ExtraEJBCOptions are specified on the EJBComponent, the default will be pulled from the Server.ExtraEJBCOptions.

Default value:
null

getExtraRmicOptions

public String getExtraRmicOptions()

The extra options passed to rmic during server-side generation are noted here. The default for this attribute must be null. If no ExtraRmicOptions are specified on the EJBComponent, the default will be pulled from Server.ExtraRmicOptions.

Returns:
The extraRmicOptions value
Default value:
null

getForceGeneration

public boolean getForceGeneration()

Indicates whether the ForceGeneration is enabled.

Returns:
The forceGeneration value
Default value:
false

getJavaCompiler

public String getJavaCompiler()

The path to the Java compiler to use to compile EJBs (e.g. "sj" or "javac"). Note: the default must be null. If no JavaCompiler is specified on this specific EJBComponent, the default will be pulled in the following order from - EJBContainerMBean - Server.JavaCompiler.

Returns:
The javaCompiler value

getJavaCompilerPostClassPath

public String getJavaCompilerPostClassPath()

Provides a list of the options to append to the Java compiler classpath when you compile Java code.

Returns:
The javaCompilerPostClassPath value

getJavaCompilerPreClassPath

public String getJavaCompilerPreClassPath()

Provides a list of the options to prepend to the Java compiler classpath when you compile Java code.

Returns:
The javaCompilerPreClassPath value

getKeepGenerated

public boolean getKeepGenerated()

indicates whether KeepGenerated is enabled and the ejbc source files will be kept.

Returns:
The keepGenerated value

getTmpPath

public String getTmpPath()
Deprecated.  

Return the temporary directory where generated files are stored by ejbc. Deprecated: All EJB compiler output is now stored in the EJBCompilerCache subdirectory of the server staging directory. This directory should not be described as "temporary" since removing it would cause the EJB compiler to be rerun as necessary the next time the server is restarted.

Returns:
The tmpPath value
Default value:
"tmp_ejb"

getVerboseEJBDeploymentEnabled

public String getVerboseEJBDeploymentEnabled()

Indicates whether the VerboseEJBDeployment is enabled.

Returns:
The verboseEJBDeploymentEnabled value
Default value:
"false"

setExtraEjbcOptions

public void setExtraEjbcOptions(String options)
                         throws InvalidAttributeValueException
Throws:
InvalidAttributeValueException

setExtraRmicOptions

public void setExtraRmicOptions(String options)
                         throws InvalidAttributeValueException

Sets the value of the extraRmicOptions attribute.

Parameters:
options - The new extraRmicOptions value
Throws:
InvalidAttributeValueException
See Also:
getExtraRmicOptions()

setForceGeneration

public void setForceGeneration(boolean f)

Sets the forceGeneration attribute of the EJBContainerMBean object.

Parameters:
f - The new forceGeneration value

setJavaCompiler

public void setJavaCompiler(String javaCompiler)
                     throws InvalidAttributeValueException

Sets the value of the JavaCompiler attribute.

Parameters:
javaCompiler - The new javaCompiler value
Throws:
InvalidAttributeValueException
See Also:
getJavaCompiler()
Default value:
null
A dynamic MBean attribute.

setJavaCompilerPostClassPath

public void setJavaCompilerPostClassPath(String postClassPath)

Sets the value of the JavaCompilerPostClassPath attribute.

Parameters:
postClassPath - The new javaCompilerPostClassPath value
See Also:
getJavaCompilerPostClassPath()
Default value:
null

setJavaCompilerPreClassPath

public void setJavaCompilerPreClassPath(String preClassPath)
                                 throws InvalidAttributeValueException

Sets the javaCompilerPreClassPath attribute of the EJBContainerMBean object

Parameters:
preClassPath - The new javaCompilerPreClassPath value
Throws:
InvalidAttributeValueException
Default value:
null

setKeepGenerated

public void setKeepGenerated(boolean f)

Sets the value of the keepGenerated attribute.

Parameters:
f - The new keepGenerated value
See Also:
getKeepGenerated()
Default value:
true

setTmpPath

public void setTmpPath(String path)
Deprecated.  

Sets the value of the TmpPath attribute.

Parameters:
path - The new tmpPath value
See Also:
getTmpPath()

setVerboseEJBDeploymentEnabled

public void setVerboseEJBDeploymentEnabled(String verbose)

Sets the value of the VerboseEJBDeploymentEnabled attribute.

Parameters:
verbose - The new verboseEJBDeploymentEnabled value
See Also:
getVerboseEJBDeploymentEnabled()

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.