BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface IIOPMBean


public interface IIOPMBean
extends ConfigurationMBean

Configuration for IIOP properties.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 int getCompleteMessageTimeout()
          Specify the maximum number of seconds spent waiting for a complete IIOP message to be received.
 java.lang.String getDefaultCharCodeset()
          Specify what codeset should be used for the default native character codeset.
 int getDefaultMinorVersion()
          Specify the default minor GIOP version for IIOP messages.
 java.lang.String getDefaultWideCharCodeset()
          Specify what codeset should be used for the default native wide character codeset.
 int getIdleConnectionTimeout()
          Specify the maximum number of seconds an IIOP connection is allowed to be idle before it is closed by the server.
 int getMaxMessageSize()
          Deprecated.  
 java.lang.String getTxMechanism()
          Specify whether IIOP should use the WebLogic-specific JTA to propagate transactions or the OMG-specified OTS.
 void setCompleteMessageTimeout(int seconds)
          Sets the completeMessageTimeout attribute of the IIOPMBean object
 void setDefaultCharCodeset(java.lang.String codeset)
          Set the default character codeset.
 void setDefaultMinorVersion(int minor)
          Sets the default GIOP minor version.
 void setDefaultWideCharCodeset(java.lang.String codeset)
          Set the default wide character codeset.
 void setIdleConnectionTimeout(int seconds)
          Sets the idleConnectionTimeout attribute of the IIOPMBean object
 void setMaxMessageSize(int maxsize)
          Sets the maxMessageSize attribute of the IIOPMBean object
 void setTxMechanism(java.lang.String mech)
          Sets the IIOP transaction propagation mechanism.
 
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
 

Method Detail

getIdleConnectionTimeout

public int getIdleConnectionTimeout()
Specify the maximum number of seconds an IIOP connection is allowed to be idle before it is closed by the server. This attribute helps guard against server deadlock through too many open connections.

A dynamic MBean attribute
A configurable MBean attribute
Default Value: -1
Legal Minimum Value: 0
Returns:
The idleConnectionTimeout value

setIdleConnectionTimeout

public void setIdleConnectionTimeout(int seconds)
                              throws javax.management.InvalidAttributeValueException,
                                     DistributedManagementException
Sets the idleConnectionTimeout attribute of the IIOPMBean object

Parameters:
seconds - The new idleConnectionTimeout value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

getCompleteMessageTimeout

public int getCompleteMessageTimeout()
Specify the maximum number of seconds spent waiting for a complete IIOP message to be received. This attribute helps guard against denial of service attacks in which a caller indicates that they will be sending a message of a certain size which they never finish sending.

A dynamic MBean attribute
A configurable MBean attribute
Default Value: -1
Legal Minimum Value: 0
Legal Maximum Value: 480
Returns:
The completeMessageTimeout value

setCompleteMessageTimeout

public void setCompleteMessageTimeout(int seconds)
                               throws javax.management.InvalidAttributeValueException,
                                      DistributedManagementException
Sets the completeMessageTimeout attribute of the IIOPMBean object

Parameters:
seconds - The new completeMessageTimeout value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

getMaxMessageSize

public int getMaxMessageSize()
Deprecated.  
Specify the maximum IIOP message size allowable in a message header. This attribute attempts to prevent a denial of service attack whereby a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.

A configurable MBean attribute
Default Value: -1
Legal Minimum Value: 4096
Legal Maximum Value: 2000000000
Returns:
The maxMessageSize value

setMaxMessageSize

public void setMaxMessageSize(int maxsize)
                       throws javax.management.InvalidAttributeValueException,
                              DistributedManagementException
Sets the maxMessageSize attribute of the IIOPMBean object

Parameters:
maxsize - The new maxMessageSize value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

getDefaultMinorVersion

public int getDefaultMinorVersion()
Specify the default minor GIOP version for IIOP messages. This attribute is useful for client orbs with broken GIOP 1.2 implementations.

A configurable MBean attribute
Default Value: 2
Legal Minimum Value: 0
Legal Maximum Value: 2
Returns:
The defaultMinorVersion value

setDefaultMinorVersion

public void setDefaultMinorVersion(int minor)
                            throws javax.management.InvalidAttributeValueException,
                                   DistributedManagementException
Sets the default GIOP minor version.

A configurable MBean attribute
Parameters:
minor - The new defaultMinorVersion value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception
java.lang.IllegalArgumentException - if the argument is null or represents a negative int.

getTxMechanism

public java.lang.String getTxMechanism()
Specify whether IIOP should use the WebLogic-specific JTA to propagate transactions or the OMG-specified OTS. It is not possible to use both since it affects the wayr transactions are negotiated.

A configurable MBean attribute
Default Value: "OTS"
Legal Values: "OTS","JTA"
Returns:
The txMechanism value

setTxMechanism

public void setTxMechanism(java.lang.String mech)
                    throws javax.management.InvalidAttributeValueException,
                           DistributedManagementException
Sets the IIOP transaction propagation mechanism.

Parameters:
mech - The new txMechanism value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

getDefaultWideCharCodeset

public java.lang.String getDefaultWideCharCodeset()
Specify what codeset should be used for the default native wide character codeset. This is required to interoperate with some Orbs that do not do codeset negotiation, or do it incorrectly. Setting this to anything other than UCS-2 will cause failure against JDK 1.3.1 clients.

Default Value: "UCS-2"
Legal Values: "UCS-2", "UTF-16", "UTF-8", "UTF-16BE", "UTF-16LE"
Returns:
The defaultWideCharCodeset value

setDefaultWideCharCodeset

public void setDefaultWideCharCodeset(java.lang.String codeset)
                               throws javax.management.InvalidAttributeValueException,
                                      DistributedManagementException
Set the default wide character codeset.

Parameters:
codeset - The new defaultWideCharCodeset value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

getDefaultCharCodeset

public java.lang.String getDefaultCharCodeset()
Specify what codeset should be used for the default native character codeset. This is required to interoperate with some Orbs that do not do codeset negotiation, or do it incorrectly. Setting this to anything other than US-ASCII will cause failure against JDK 1.3.1 clients.

A configurable MBean attribute
Default Value: "US-ASCII"
Legal Values: "US-ASCII", "UTF-8", "ISO-8859-1"
Returns:
The defaultCharCodeset value

setDefaultCharCodeset

public void setDefaultCharCodeset(java.lang.String codeset)
                           throws javax.management.InvalidAttributeValueException,
                                  DistributedManagementException
Set the default character codeset.

A configurable MBean attribute
Parameters:
codeset - The new defaultCharCodeset value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

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