create
Creates a domain object with the specified name and type, and adds it to the container.
Return
the created domain object
Parameters
the name of the domain object to be created
the type of the domain object to be created
the type of the domain object to be created
Throws
if a domain object with the specified name already exists or the container does not support creating a domain object with the specified type
Creates a domain object with the specified name and type, adds it to the container, and configures it with the specified action.
Return
the created domain object
Parameters
the name of the domain object to be created
the type of the domain object to be created
an action for configuring the domain object
the type of the domain object to be created
Throws
if a domain object with the specified name already exists or the container does not support creating a domain object with the specified type