org.apache.axis2.deployment.util
Class Utils

java.lang.Object
  extended byorg.apache.axis2.deployment.util.Utils

public class Utils
extends Object


Constructor Summary
Utils()
           
 
Method Summary
static void addFlowHandlers(Flow flow, ClassLoader clsLoader)
           
static AxisService createService(String implClass, AxisConfiguration axisConfig)
          To create an AxisService using given service impl class name fisrt generate schema corresponding to the given java class , next for each methods AxisOperation will be created.
static void fillAxisService(AxisService axisService, AxisConfiguration axisConfig)
          This guy will create a AxisService using java replection
static ClassLoader getClassLoader(ClassLoader parent, File file)
           
static ClassLoader getClassLoader(ClassLoader parent, String path)
           
static void loadHandler(ClassLoader loader1, HandlerDescription desc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

addFlowHandlers

public static void addFlowHandlers(Flow flow,
                                   ClassLoader clsLoader)
                            throws AxisFault
Throws:
AxisFault

loadHandler

public static void loadHandler(ClassLoader loader1,
                               HandlerDescription desc)
                        throws DeploymentException
Throws:
DeploymentException

getClassLoader

public static ClassLoader getClassLoader(ClassLoader parent,
                                         String path)
                                  throws DeploymentException
Throws:
DeploymentException

getClassLoader

public static ClassLoader getClassLoader(ClassLoader parent,
                                         File file)
                                  throws DeploymentException
Throws:
DeploymentException

fillAxisService

public static void fillAxisService(AxisService axisService,
                                   AxisConfiguration axisConfig)
                            throws Exception
This guy will create a AxisService using java replection

Throws:
Exception

createService

public static AxisService createService(String implClass,
                                        AxisConfiguration axisConfig)
                                 throws AxisFault
To create an AxisService using given service impl class name fisrt generate schema corresponding to the given java class , next for each methods AxisOperation will be created.

Note : Inorder to work this properly RPCMessageReceiver should be availble in the class path otherewise operation can not continue

Parameters:
implClass -
axisConfig -
Returns:
return created AxisSrevice
Throws:
AxisFault