Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

weblogic.management.configuration
Interface EJBContainerMBean

All Superinterfaces:
ConfigurationMBean
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."


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()
          Deprecated. Deprecated as of 10.3.3.0 in favor of ServerDebugMBean.getDebugEjbDeployment()
 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)
          Deprecated. Deprecated as of 10.3.3.0 in favor of ServerDebugMBean.setDebugEjbDeployment(boolean)
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 

Method Detail

getJavaCompiler

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

setJavaCompiler

void setJavaCompiler(String javaCompiler)
                     throws InvalidAttributeValueException

Sets the value of the JavaCompiler attribute.

Parameters:
javaCompiler - The new javaCompiler value
Throws:
InvalidAttributeValueException
See Also:
EJBContainerMBean.getJavaCompiler()
Default Value:
null

getJavaCompilerPreClassPath

String getJavaCompilerPreClassPath()

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

Returns:
The javaCompilerPreClassPath value

setJavaCompilerPreClassPath

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

getJavaCompilerPostClassPath

String getJavaCompilerPostClassPath()

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

Returns:
The javaCompilerPostClassPath value

setJavaCompilerPostClassPath

void setJavaCompilerPostClassPath(String postClassPath)

Sets the value of the JavaCompilerPostClassPath attribute.

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

getExtraRmicOptions

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

setExtraRmicOptions

void setExtraRmicOptions(String options)
                         throws InvalidAttributeValueException

Sets the value of the extraRmicOptions attribute.

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

getKeepGenerated

boolean getKeepGenerated()

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

Returns:
The keepGenerated value

setKeepGenerated

void setKeepGenerated(boolean f)

Sets the value of the keepGenerated attribute.

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

getForceGeneration

boolean getForceGeneration()

Indicates whether the ForceGeneration is enabled.

Returns:
The forceGeneration value
Default Value:
false

setForceGeneration

void setForceGeneration(boolean f)

Sets the forceGeneration attribute of the EJBContainerMBean object.

Parameters:
f - The new forceGeneration value

getTmpPath

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"

setTmpPath

void setTmpPath(String path)
Deprecated. 

Sets the value of the TmpPath attribute.

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

getVerboseEJBDeploymentEnabled

String getVerboseEJBDeploymentEnabled()
Deprecated. Deprecated as of 10.3.3.0 in favor of ServerDebugMBean.getDebugEjbDeployment()

Indicates whether the VerboseEJBDeployment is enabled.

Returns:
The verboseEJBDeploymentEnabled value
Default Value:
"false"

setVerboseEJBDeploymentEnabled

void setVerboseEJBDeploymentEnabled(String verbose)
Deprecated. Deprecated as of 10.3.3.0 in favor of ServerDebugMBean.setDebugEjbDeployment(boolean)

Sets the value of the VerboseEJBDeploymentEnabled attribute.

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

getExtraEjbcOptions

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

setExtraEjbcOptions

void setExtraEjbcOptions(String options)
                         throws InvalidAttributeValueException
Throws:
InvalidAttributeValueException

Copyright 1996, 2011, 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
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06