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 XMLEntityCacheMBean

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

public interface XMLEntityCacheMBean
extends ConfigurationMBean

Configure the behavior of JAXP (Java API for XML Parsing) in the server.

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
 int getCacheDiskSize()
          The disk size, in MB, of the persistent disk cache.
 String getCacheLocation()
          Provides the path name for the persistent cache files.
 int getCacheMemorySize()
          The memory size, in KB, of the cache.
 int getCacheTimeoutInterval()
          The default timeout interval, in seconds, for the cache.
 EntityCacheCurrentStateRuntimeMBean getEntityCacheCurrentRuntime()
          Deprecated. 9.0.0.0
 EntityCacheCumulativeRuntimeMBean getEntityCacheHistoricalRuntime()
          Deprecated. 9.0.0.0
 EntityCacheCumulativeRuntimeMBean getEntityCacheSessionRuntime()
          Deprecated. 9.0.0.0
 int getMaxSize()
          Provides the maximum number of entries that can be stored in the cache at any given time.
 void setCacheDiskSize(int cacheSize)
          Sets the value of the cacheDiskSize attribute.
 void setCacheLocation(String path)
          Sets the value of the cacheLocation attribute.
 void setCacheMemorySize(int cacheSize)
          Sets the value of the cacheMemorySize attribute.
 void setCacheTimeoutInterval(int interval)
          Sets the value of the cacheTimeoutInterval attribute.
 void setMaxSize(int size)
          Sets the value of the maxSize 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

getCacheDiskSize

public int getCacheDiskSize()

The disk size, in MB, of the persistent disk cache. The default value is 5 MB.

Return the disk size in MBytes of the cache.

Returns:
The cacheDiskSize value
Default value:
5
Minimum value:
0

getCacheLocation

public String getCacheLocation()

Provides the path name for the persistent cache files.

Returns:
The cacheLocation value
Default value:
"xmlcache"

getCacheMemorySize

public int getCacheMemorySize()

The memory size, in KB, of the cache. The default value is 500 KB.

Return the memory size in KBytes of the cache.

Returns:
The cacheMemorySize value
Default value:
500
Minimum value:
0

getCacheTimeoutInterval

public int getCacheTimeoutInterval()

The default timeout interval, in seconds, for the cache. The default value is 120 seconds.

Return the default timeout interval in seconds for the cache.

Returns:
The cacheTimeoutInterval value
Default value:
120
Minimum value:
0

getEntityCacheCurrentRuntime

public EntityCacheCurrentStateRuntimeMBean getEntityCacheCurrentRuntime()
Deprecated. 9.0.0.0

Provides the name of an MBean representing the runtime state of the cache. Returns null if the given server is not running

Returns:
The entityCacheCurrentRuntime value

getEntityCacheHistoricalRuntime

public EntityCacheCumulativeRuntimeMBean getEntityCacheHistoricalRuntime()
Deprecated. 9.0.0.0

Provides the name of an MBean representing the runtime state of the cache. Returns null if the given server is not running

Returns:
The entityCacheHistoricalRuntime value

getEntityCacheSessionRuntime

public EntityCacheCumulativeRuntimeMBean getEntityCacheSessionRuntime()
Deprecated. 9.0.0.0

Provides the name of an MBean representing the runtime state of the cache. Returns null if the given server is not running

Returns:
The entityCacheSessionRuntime value

getMaxSize

public int getMaxSize()

Provides the maximum number of entries that can be stored in the cache at any given time.

Returns:
The maximum number of entries that can be stored in the cache
A dynamic MBean attribute.

setCacheDiskSize

public void setCacheDiskSize(int cacheSize)
                      throws InvalidAttributeValueException

Sets the value of the cacheDiskSize attribute.

Parameters:
cacheSize - The new cacheDiskSize value
Throws:
InvalidAttributeValueException
See Also:
getCacheDiskSize()
A dynamic MBean attribute.

setCacheLocation

public void setCacheLocation(String path)
                      throws InvalidAttributeValueException

Sets the value of the cacheLocation attribute.

Parameters:
path - The new cacheLocation value
Throws:
InvalidAttributeValueException
See Also:
getCacheLocation()
A dynamic MBean attribute.

setCacheMemorySize

public void setCacheMemorySize(int cacheSize)
                        throws InvalidAttributeValueException

Sets the value of the cacheMemorySize attribute.

Parameters:
cacheSize - The new cacheMemorySize value
Throws:
InvalidAttributeValueException
See Also:
getCacheMemorySize()
A dynamic MBean attribute.

setCacheTimeoutInterval

public void setCacheTimeoutInterval(int interval)
                             throws InvalidAttributeValueException

Sets the value of the cacheTimeoutInterval attribute.

Parameters:
interval - The new cacheTimeoutInterval value
Throws:
InvalidAttributeValueException
See Also:
getCacheTimeoutInterval()
A dynamic MBean attribute.

setMaxSize

public void setMaxSize(int size)

Sets the value of the maxSize attribute.

Parameters:
size - The new maxSize value
See Also:
getMaxSize()

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