Interface DDLGenerationMBean
public interface DDLGenerationMBean
The DDLGenerationMBean provides an interface which can be used to generate
DDL for WebSphere Liberty Profile features which use the persistence
service.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Key returned by the generateDDL function, which describes the number of DDL files written by the MBean.static final String
A String representing theObjectName
that this MBean maps to.static final String
Key returned by the generateDDL function, which describes the path in the file system where the DDL files were written.static final String
Key returned by the generateDDL function, which describes the overall success of the function. -
Method Summary
Modifier and TypeMethodDescriptionGenerate DDL for all features which use the persistence service to persist data to a database.
-
Field Details
-
OBJECT_NAME
A String representing theObjectName
that this MBean maps to.- See Also:
-
OUTPUT_DIRECTORY
Key returned by the generateDDL function, which describes the path in the file system where the DDL files were written. The value of this key is a java.lang.String.- See Also:
-
FILE_COUNT
Key returned by the generateDDL function, which describes the number of DDL files written by the MBean. A value of zero indicates that nothing was written. The value of this key is a java.lang.Integer.- See Also:
-
SUCCESS
Key returned by the generateDDL function, which describes the overall success of the function. The value of this key is a java.lang.Boolean. A value of TRUE indicates that the function completed successfully. A value of FALSE indicates that the function did not complete successfully. Exceptions or FFDC entries may be found in the server's logs.- See Also:
-
-
Method Details
-
generateDDL
Map<String,Serializable> generateDDL()Generate DDL for all features which use the persistence service to persist data to a database. One file will be written for each user of the persistence service. The files will be written to a directory in the file system named ${server.output.dir}/ddl. The name of each file will be the config.displayId for the service generating the DDL.- Returns:
- A map of key/value pairs describing the results of the command. The map will include the following keys: DDLGenerationMBean.OUTPUT_DIRECTORY DDLGenerationMBean.SUCCESS
-