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
Specifies the 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

Icon that indicates the type of topic Reference topic

Terms and conditions for documentation | Feedback


Timestamp icon Last updated: March 30, 2016 13:35
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=vmm&topic=spicreateschema
File name: spicreateschema.html