Interface XmlConfigurable

All Known Subinterfaces:
BackingMapManagerContext
All Known Implementing Classes:
BerkeleyDBBinaryStoreManager, CompressionFilter, ConfigurableAddressProviderFactory, ConfigurablePofContext, ConfigurableSerializerFactory, ConfigurableSnapshotArchiverFactory, NullImplementation.NullBackingMapManagerContext, SafeConfigurablePofContext, SocketOptions

@Deprecated public interface XmlConfigurable
Deprecated.
An interface for XML configuration.

This class has now been deprecated. All parameters passed to a custom object will be done using the custom object's constructor. For example, the following cache configuration XML will result in 2 parameters being passed to the constructor (the cache name and 'Param2'):

 
 <instance>
   <class-name>MyCustomObject</class-name>
   <init-params>
     <init-param>
       <param-type>java.lang.String</param-type>
       <param-value>{cache-name}</param-value>
     </init-param>
     <init-param>
       <param-type>java.lang.String</param-type>
       <param-value>Param2</param-value>
     </init-param>
   </init-params>
 </instance>
 

Author:
cp 2002.08.20
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Determine the current configuration of the object.
    void
    Deprecated.
    Specify the configuration for the object.
  • Method Details

    • getConfig

      XmlElement getConfig()
      Deprecated.
      Determine the current configuration of the object.
      Returns:
      the XML configuration or null
    • setConfig

      void setConfig(XmlElement xml)
      Deprecated.
      Specify the configuration for the object.
      Parameters:
      xml - the XML configuration for the object
      Throws:
      IllegalStateException - if the object is not in a state that allows the configuration to be set; for example, if the object has already been configured and cannot be reconfigured