|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MetaDataPlugin
The mean of the interface is to provide machanism for defining new
manifest headers for providing metadata by a XML resource. It also
has the responsibility of
instructing the MetaDataManager service how to process the metatype
providers created from the parsed XMLs.
When registered as service into the framework instances of this interface
should include property METADATA
in its registration properties with String array value which
specifies metatype bundle manifest headers which are of interest.
Normally there will be only one plugin per type but if more, the type
should be considered storable if any of them requires so.
MetaDataManager| Field Summary | |
|---|---|
static java.lang.String |
METADATA
Constant for the property key which metadata plugins have to provide when registered into the framework service registry. |
| Method Summary | |
|---|---|
boolean |
processed(java.lang.String type)
This method should be called by the MetaDataManager service
to determine how the specified metadata should be treated. |
| Field Detail |
|---|
static final java.lang.String METADATA
String array and must contain all meta info types this
plugin is responsible for.
| Method Detail |
|---|
boolean processed(java.lang.String type)
MetaDataManager service
to determine how the specified metadata should be treated.
If this method returns true the MetaDataManager
will persistently store the parsed metatype. If false is
returned the metatype won't be stored and
will be parsed upon request.
type - The metadata type.
MetaTypeProviders of
the specified type should be stored.
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||