|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MetaTypeProviderExtern
Extension of the OSGi MetaTypeProvider interface.
Metatype providers implementing it have the ability to return a set of modified configurations
of the original (the one which could be created by the ObjectClassDefinition
with the same pid, returned by the MetaTypeProvider.getObjectClassDefinition(java.lang.String, java.lang.String) method).
A modified configuration is represented by a single ObjectClassDefinition
which have to return a set of AttributeDefinition instances.
Default values of the latter ones are treated as they override the values with the same id of the original configuration.
Objects implementing this interface are additionally serializable.
MetaTypeProvider,
Externalizable| Field Summary | |
|---|---|
static java.lang.String |
METADATA_TYPE
Property key used to point the metatype provider type when registered into the OSGi registry rather then provided via XML. |
static java.lang.String |
METADATA_VERSION
Property key used to point the metatype provider version when registered into the OSGi registry rather then provided via XML. |
| Method Summary | |
|---|---|
ObjectClassDefinition[] |
getConfigurationObjects(java.lang.String pid)
Provides ability to metatype providers to contain predefined configuration modifications. |
| Methods inherited from interface org.osgi.service.metatype.MetaTypeProvider |
|---|
getLocales, getObjectClassDefinition |
| Methods inherited from interface com.prosyst.util.io.Externalizable |
|---|
readObject, writeObject |
| Field Detail |
|---|
static final java.lang.String METADATA_TYPE
MetaDataManager,
Constant Field Valuesstatic final java.lang.String METADATA_VERSION
MetaDataManager,
Constant Field Values| Method Detail |
|---|
ObjectClassDefinition[] getConfigurationObjects(java.lang.String pid)
null result if it has been retrieved by
MetaDataManager.getMetaTypeProvider(java.lang.String, boolean) method with parameter original set to true.
pid - The pid of the requested configuration object.
ObjectClassDefinition objects
each of which have to be treated as modification of the original configuration creatable by the
object definition with the same pid, returned by the
MetaTypeProvider.getObjectClassDefinition(java.lang.String, java.lang.String) method.
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||