|
Oracle Application Server 10g Java Object Cache API Reference 10g(9.0.4) B10388-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is defined for declarative caching.
Any user defined object in the declarative caching xml file should implement this interface in order to be constructed.
For example, user can declear a CacheLoader in a declarative XML file as following:
<cache-loader> <classname>user.sample.cache.Loader</classname> <parameter name="location">source</parameter> </cache-loader>
In this case, user.sample.cache.Loader has to implement both CacheLoader interface and Declarable interface. Then cache service can construct a valid user.sample.cache.Loader object by first calling an empty contructor, and then calling the init(Properties props) method to pass in the parameters.
Method Summary | |
void |
init(java.util.Properties props) is intended to be used to initialize a user defined object. |
Method Detail |
public void init(java.util.Properties props)
|
Oracle Application Server 10g Java Object Cache API Reference 10g(9.0.4) B10388-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |