Package org.wso2.carbon.service.mgt.util
Class ServiceArchiveCreator
java.lang.Object
org.wso2.carbon.service.mgt.util.ServiceArchiveCreator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classTODO Find better way via Axis2. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateArchive(org.apache.axis2.context.ConfigurationContext configurationContext, String serviceGroupName) This method will generate an aar based on the information given.protected static org.apache.axiom.om.OMAttributecreateOMAttribute(org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns, String localName, String value) protected static org.apache.axiom.om.OMElementcreateOMElement(org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns, String localName) protected static org.apache.axiom.om.OMElementcreateOMElement(org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns, String localName, String text) protected static org.apache.axiom.om.OMElementcreateServiceGroupXMLInfoset(org.apache.axis2.description.AxisServiceGroup axisServiceGroup) protected static voidserializeModules(Collection<org.apache.axis2.description.AxisModule> moduleCollection, org.apache.axiom.om.OMElement parent, org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns, org.apache.axis2.description.AxisDescription axisDesc) protected static voidserializeParameter(org.apache.axis2.description.Parameter param, org.apache.axiom.om.OMElement parent, org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns) protected static voidserializeParameterList(List<org.apache.axis2.description.Parameter> parameterList, org.apache.axiom.om.OMElement parent, org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns) protected static voidserializePolicyIncludes(org.apache.axiom.om.OMElement parent, List policyList, org.apache.neethi.PolicyRegistry policyRegistry)
-
Method Details
-
createArchive
public static String createArchive(org.apache.axis2.context.ConfigurationContext configurationContext, String serviceGroupName) throws org.apache.axis2.AxisFault This method will generate an aar based on the information given.- Parameters:
configurationContext- configuration contextserviceGroupName- service group name- Returns:
- String : an id. User can access the generated archive using HTTP GET interface and this Id
- Throws:
org.apache.axis2.AxisFault- will be thrown.
-
createServiceGroupXMLInfoset
protected static org.apache.axiom.om.OMElement createServiceGroupXMLInfoset(org.apache.axis2.description.AxisServiceGroup axisServiceGroup) -
serializePolicyIncludes
protected static void serializePolicyIncludes(org.apache.axiom.om.OMElement parent, List policyList, org.apache.neethi.PolicyRegistry policyRegistry) -
serializeModules
protected static void serializeModules(Collection<org.apache.axis2.description.AxisModule> moduleCollection, org.apache.axiom.om.OMElement parent, org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns, org.apache.axis2.description.AxisDescription axisDesc) -
serializeParameterList
protected static void serializeParameterList(List<org.apache.axis2.description.Parameter> parameterList, org.apache.axiom.om.OMElement parent, org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns) -
serializeParameter
protected static void serializeParameter(org.apache.axis2.description.Parameter param, org.apache.axiom.om.OMElement parent, org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns) -
createOMElement
protected static org.apache.axiom.om.OMElement createOMElement(org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMNamespace ns, String localName) -
createOMElement
-
createOMAttribute
-