|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Version
Specifies the version of an Indexer
implementation. Index data will
be invalidated if the version changes. The version can be any string. It
is not required to be numerical or match any specific pattern. Version
strings are only tested for string equality. Unequal strings cause
invalidation of index data.
The version should change whenever the data stored by the Indexer
implementation changes in any significant way, such that the index data must
be rebuilt. It should also change if the Indexer
implementation is
registered for a different set of Node
types.
If an Indexer
implementation does not have this annotation, it can
later be added. The absense of a version annotation is considered unequal
to any version string. So addition of the annotation will invalidate the
index data. It is recommended that for any implementation which does not
already have this annotation, the owner wait until there is a change which
requires invalidation of the index data before adding the annotation. That
will avoid unnecessarily invalidating existing index data.
Required Element Summary | |
---|---|
java.lang.String |
value
|
Element Detail |
---|
public abstract java.lang.String value
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |