public class ActivateUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
findHandler(List<Handler> existingHandlers,
MetaDataEntry metaDataEntry)
Find the Handler object that matches the criteria
|
static AxisMessage |
findMessage(AxisOperation op,
String msgName,
String msgElementName)
Find the AxisMessage object that matches the criteria
|
static AxisOperation |
findOperation(AxisConfiguration axisConfig,
String opClassName,
QName opQName)
Find the AxisOperation object that matches the criteria
|
static AxisOperation |
findOperation(AxisService service,
String opClassName,
QName opQName)
Find the AxisOperation object that matches the criteria
|
static AxisService |
findService(AxisConfiguration axisConfig,
String serviceClassName,
String serviceName)
Find the AxisService object that matches the criteria
|
static AxisService |
findService(AxisConfiguration axisConfig,
String serviceClassName,
String serviceName,
String extraName) |
static AxisServiceGroup |
findServiceGroup(AxisConfiguration axisConfig,
String serviceGrpClassName,
String serviceGrpName)
Find the AxisServiceGroup object that matches the criteria
Note the saved service group meta information may not
match up with any of the serviceGroups that
are in the current AxisConfiguration object.
|
static TransportListener |
findTransportListener(AxisConfiguration axisConfig,
String listenerClassName)
Find the TransportListener object that matches the criteria
Note the saved meta information may not
match up with any of the objects that
are in the current AxisConfiguration object.
|
static String |
getAxisServiceExternalizeExtraName(AxisService axisService)
Return a Sring that contains the service QName and port local name of an AxisService
seperated by a delimiter.
|
static boolean |
isEquivalent(ArrayList a1,
ArrayList a2,
boolean strict)
Compares the two collections to see if they are equivalent.
|
static boolean |
isEquivalent(LinkedList l1,
LinkedList l2)
Compares the two collections to see if they are equivalent.
|
static boolean |
isEquivalent(Map m1,
Map m2,
boolean strict)
Compares the two collections to see if they are equivalent.
|
public static AxisServiceGroup findServiceGroup(AxisConfiguration axisConfig, String serviceGrpClassName, String serviceGrpName)
axisConfig
- The AxisConfiguration objectserviceGrpClassName
- the class name string for the target object
(could be a derived class)serviceGrpName
- the name associated with the service grouppublic static AxisService findService(AxisConfiguration axisConfig, String serviceClassName, String serviceName)
axisConfig
- The AxisConfiguration objectserviceClassName
- the class name string for the target object
(could be a derived class)serviceName
- the name associated with the servicepublic static AxisService findService(AxisConfiguration axisConfig, String serviceClassName, String serviceName, String extraName)
public static String getAxisServiceExternalizeExtraName(AxisService axisService)
axisService
- The AxisService to create the externalized namepublic static AxisOperation findOperation(AxisConfiguration axisConfig, String opClassName, QName opQName)
axisConfig
- The AxisConfiguration objectopClassName
- the class name string for the target object
(could be a derived class)opQName
- the name associated with the operationpublic static AxisOperation findOperation(AxisService service, String opClassName, QName opQName)
service
- The AxisService objectopClassName
- The class name string for the target object
(could be a derived class)opQName
- the name associated with the operationpublic static AxisMessage findMessage(AxisOperation op, String msgName, String msgElementName)
op
- The AxisOperation objectmsgName
- The name associated with the messagemsgElementName
- The name associated with the message elementpublic static Object findHandler(List<Handler> existingHandlers, MetaDataEntry metaDataEntry)
existingHandlers
- The list of existing handlers and phaseshandlerClassName
- the class name string for the target object
(could be a derived class)public static TransportListener findTransportListener(AxisConfiguration axisConfig, String listenerClassName)
axisConfig
- The AxisConfiguration objectlistenerClassName
- the class name string for the target object
(could be a derived class)public static boolean isEquivalent(ArrayList a1, ArrayList a2, boolean strict)
a1
- The first collectiona2
- The second collectionstrict
- Indicates whether strict checking is required. Strict
checking means that the two collections must have the
same elements in the same order. Non-strict checking
means that the two collections must have the same
elements, but the order is not significant.public static boolean isEquivalent(Map m1, Map m2, boolean strict)
m1
- The first collectionm2
- The second collectionstrict
- Indicates whether strict checking is required. Strict
checking means that the two collections must have the
same mappings. Non-strict checking means that the
two collections must have the same keys. In both
cases, the order is not significant.public static boolean isEquivalent(LinkedList l1, LinkedList l2)
l1
- The first collectionl2
- The second collectionCopyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.