|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.uddi.promoter.publish.EntityImporter
Creates entities in target UDDI registry, given entity lists.
Given a list of each type of entity (business, service, binding, tModel), determines whether an entity with same key already exists in the target registry and whether it can be overwritten, including child entities. For new entities a minimal entity (stub) is inserted directly into the database, followed by a UDDI4J publish, which updates the minimal entity.
Validation of UUID keys is performed on each entity.
Field Summary | |
---|---|
static java.lang.String |
JAVA_COPYRIGHT
Deprecated. |
Fields inherited from interface com.ibm.uddi.promoter.CommandLineConstants |
---|
ARG_BINDING, ARG_BUSINESS, ARG_DEFINITION_FILE, ARG_DELETE, ARG_EXPORT, ARG_IMPORT, ARG_IMPORT_REFERENCED_ENTITIES, ARG_INPUT_KEYFILE, ARG_INPUT_KEYFILE_OLD, ARG_OVERWRITE, ARG_OVERWRITE_OLD, ARG_PROMOTE, ARG_PROPERTIES_FILE, ARG_SERVICE, ARG_TMODEL, ARG_VERBOSE, ARG_VERBOSE_OLD, USAGE |
Constructor Summary | |
---|---|
EntityImporter(Configuration config)
Deprecated. Constructor taking a Configuration . |
Method Summary | |
---|---|
ImportResults |
importEntities(boolean validateReferencedTModels)
Deprecated. For each type of entity (tModel, business, service, binding), creates minimal entity in target registry database and then updates that minimal entity by performing an API publish. |
void |
setEntities(UddiEntities entities)
Deprecated. Sets the UDDI4J entities to be imported. |
void |
setImportConfig(ImportConfiguration importConfig)
Deprecated. Sets the import configuration. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String JAVA_COPYRIGHT
Constructor Detail |
public EntityImporter(Configuration config) throws PromoterConfigurationException, PromoterUDDI4JException, PromoterDBException, PromoterTransportException, PromoterException
Configuration
.
config
-
PromoterConfigurationException
PromoterUDDI4JException
PromoterDBException
PromoterTransportException
PromoterException
Method Detail |
public void setEntities(UddiEntities entities)
entities
- The entities to setpublic void setImportConfig(ImportConfiguration importConfig)
This method allows the configuration affecting the target registry to be changed after the EntityImporter is constructed, so it can be re-used, for example for targetting the same set of entities at multiple target registries.
importConfig
- The importConfig to set.ImportConfiguration
public ImportResults importEntities(boolean validateReferencedTModels) throws PromoterUDDI4JException, PromoterDBException, PromoterException
Actual outcome is dependent on option settings, such as overwrite and importReferenced
validateReferencedTModels
- true
will cause the referenced
tModels to be sorted into the order they should be published, and detect cycles.
PromoterUDDI4JException
PromoterDBException
PromoterException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |