|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.util.Utils
public class Utils
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static void |
addHandler(Flow flow,
Handler handler,
java.lang.String phaseName)
|
static void |
calculateDefaultModuleVersion(java.util.HashMap modules,
AxisConfiguration axisConfig)
|
static boolean |
checkVersion(java.lang.String module1version,
java.lang.String module2version)
- if he trying to engage the same module then method will returen false - else it will return true |
static MessageContext |
createOutMessageContext(MessageContext inMessageContext)
Deprecated. (post1.1branch) |
static AxisService |
createSimpleInOnlyService(QName serviceName,
MessageReceiver messageReceiver,
QName opName)
|
static AxisService |
createSimpleService(QName serviceName,
MessageReceiver messageReceiver,
java.lang.String className,
QName opName)
|
static AxisService |
createSimpleService(QName serviceName,
java.lang.String className,
QName opName)
|
static AxisService |
createSimpleServiceforClient(QName serviceName,
MessageReceiver messageReceiver,
java.lang.String className,
QName opName)
|
static AxisService |
createSimpleServiceforClient(QName serviceName,
java.lang.String className,
QName opName)
|
static ServiceContext |
fillContextInformation(AxisService axisService,
ConfigurationContext configurationContext)
|
static int |
getAxisSpecifMEPConstant(java.lang.String messageExchangePattern)
Maps the String URI of the Message exchange pattern to a integer. |
static AxisFault |
getInboundFaultFromMessageContext(MessageContext messageContext)
Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached to the provided MessageContext. |
static java.lang.String |
getModuleName(java.lang.String moduleName)
Get the name of the module , where archive name is combination of module name + its version The format of the name is as follows: moduleName-00.0000 Example: "addressing-01.0001.mar" would return "addressing" |
static java.lang.String |
getModuleName(java.lang.String moduleName,
java.lang.String moduleVersion)
|
static java.lang.String |
getModuleVersion(java.lang.String moduleName)
|
static int |
getMtomThreshold(MessageContext msgCtxt)
|
static ConfigurationContext |
getNewConfigurationContext(java.lang.String repositry)
|
static java.lang.ClassLoader |
getObjectClassLoader(java.lang.Object object)
This method will provide the logic needed to retrieve an Object's classloader in a Java 2 Security compliant manner. |
static java.lang.String |
getParameterValue(Parameter param)
|
static boolean |
isExplicitlyTrue(MessageContext messageContext,
java.lang.String propertyName)
Deprecated. please use MessageContext.isTrue(propertyName) instead |
static boolean |
isLatest(java.lang.String moduleVersion,
java.lang.String currentDefaultVersion)
|
static java.lang.String[] |
parseRequestURLForServiceAndOperation(java.lang.String path,
java.lang.String servicePath)
Break a full path into pieces |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static void addHandler(Flow flow, Handler handler, java.lang.String phaseName)
public static MessageContext createOutMessageContext(MessageContext inMessageContext) throws AxisFault
AxisFault
org.apache.axis2.util.MessageContextBuilder:createOutMessageContext()
public static AxisService createSimpleService(QName serviceName, java.lang.String className, QName opName) throws AxisFault
AxisFault
public static AxisService createSimpleServiceforClient(QName serviceName, java.lang.String className, QName opName) throws AxisFault
AxisFault
public static AxisService createSimpleInOnlyService(QName serviceName, MessageReceiver messageReceiver, QName opName) throws AxisFault
AxisFault
public static AxisService createSimpleService(QName serviceName, MessageReceiver messageReceiver, java.lang.String className, QName opName) throws AxisFault
AxisFault
public static AxisService createSimpleServiceforClient(QName serviceName, MessageReceiver messageReceiver, java.lang.String className, QName opName) throws AxisFault
AxisFault
public static ServiceContext fillContextInformation(AxisService axisService, ConfigurationContext configurationContext) throws AxisFault
AxisFault
public static java.lang.String[] parseRequestURLForServiceAndOperation(java.lang.String path, java.lang.String servicePath)
public static ConfigurationContext getNewConfigurationContext(java.lang.String repositry) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getParameterValue(Parameter param)
public static java.lang.String getModuleName(java.lang.String moduleName)
moduleName
- the name of the module archive
public static java.lang.String getModuleVersion(java.lang.String moduleName)
public static java.lang.String getModuleName(java.lang.String moduleName, java.lang.String moduleVersion)
public static boolean checkVersion(java.lang.String module1version, java.lang.String module2version) throws AxisFault
AxisFault
public static void calculateDefaultModuleVersion(java.util.HashMap modules, AxisConfiguration axisConfig)
public static boolean isLatest(java.lang.String moduleVersion, java.lang.String currentDefaultVersion)
public static boolean isExplicitlyTrue(MessageContext messageContext, java.lang.String propertyName)
messageContext
- the MessageContextpropertyName
- the property name
public static int getAxisSpecifMEPConstant(java.lang.String messageExchangePattern)
public static AxisFault getInboundFaultFromMessageContext(MessageContext messageContext)
messageContext
-
public static java.lang.ClassLoader getObjectClassLoader(java.lang.Object object)
public static int getMtomThreshold(MessageContext msgCtxt)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |