Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Virtual member manager SPIs > Repository SPI
createSchema
Use the createSchema SPI to create new entity and property types.
Purpose
The createSchema SPI creates the schema of new entity types and property types at runtime. When this method is called, the new types are added to the schema model in the SchemaManager and the configuration information in ConfigManager is updated to accept these new types.The adapter needs to support the new types and refresh the schema or configuration cache if it is necessary. If the adapter does not support creating new types, the exception, com.ibm.websphere.exception.OperationNotSupportException, is thrown.
Parameters
root
Input root data object that contains the information of the new entity and property types.
Returns
The output root data object that contains the new types created and the repositories that support the new types.
Exceptions
- WIMException:
Signature
Public DataObject createSchema(DataObject root) throws WIMException
Parent topic: Repository SPI