Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.run.xml
Interface XmlConfigurable

All Known Subinterfaces:
BackingMapManagerContext
All Known Implementing Classes:
AbstractEncryptionFilter, AsymmetricEncryptionFilter, BerkeleyDBBinaryStoreManager, ClusterEncryptionFilter, CompressionFilter, ConfigurableAddressProviderFactory, ConfigurablePofContext, ConfigurableSerializerFactory, NullImplementation.NullBackingMapManagerContext, PasswordBasedEncryptionFilter, SafeConfigurablePofContext, SocketOptions, SymmetricEncryptionFilter

Deprecated.

@Deprecated
public interface XmlConfigurable

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
 XmlElement getConfig()
          Deprecated. Determine the current configuration of the object.
 void setConfig(XmlElement xml)
          Deprecated. Specify the configuration for the object.

 

Method Detail

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:
java.lang.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

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.