|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.uddi.promoter.TopologyUtils
public class TopologyUtils
Utility class for sorting referenced tModels to valid load order and detecting cycles in the reference topology.
Field Summary |
---|
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 | |
---|---|
TopologyUtils()
Deprecated. |
Method Summary | |
---|---|
java.util.HashSet |
extractKeyedReferences(org.uddi4j.util.CategoryBag categoryBag)
Deprecated. Extracts keyedReferences from a categoryBag. |
java.util.HashSet |
extractKeyedReferences(org.uddi4j.util.IdentifierBag identifierBag)
Deprecated. Extracts keyedReferences from an identifierBag. |
java.util.HashSet |
extractTModelsFromContacts(org.uddi4j.datatype.business.Contacts contacts)
Deprecated. Explores a Contacts collection for Address objects
and returns any tModelKeys they reference in a HashSet. |
java.util.HashSet |
extractTModelsFromInstanceDetails(org.uddi4j.datatype.binding.TModelInstanceDetails tModelInstanceDetails)
Deprecated. Extracts keyedReferences from a TModelInstanceDetails . |
java.util.List |
sortList(java.util.List tModels)
Deprecated. Returns a sorted copy of a list of tModels such that each tModel appears after all of the tModels that reference it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopologyUtils()
Method Detail |
---|
public java.util.List sortList(java.util.List tModels) throws PromoterTopologyException
By publishing the tModels in the order they appear in this list it is guaranteed that publishes will not fail due to missing dependencies.
tModels
-
PromoterTopologyException
- If a cycle is detected in the reference topology.public java.util.HashSet extractTModelsFromInstanceDetails(org.uddi4j.datatype.binding.TModelInstanceDetails tModelInstanceDetails)
TModelInstanceDetails
.
tModelInstanceDetails
-
public java.util.HashSet extractKeyedReferences(org.uddi4j.util.CategoryBag categoryBag)
categoryBag
-
public java.util.HashSet extractKeyedReferences(org.uddi4j.util.IdentifierBag identifierBag)
identifierBag
-
public java.util.HashSet extractTModelsFromContacts(org.uddi4j.datatype.business.Contacts contacts)
Contacts
collection for Address
objects
and returns any tModelKeys they reference in a HashSet.
contacts
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |