org.apache.axis2.jaxws.server
Class ServiceInstanceFactoryImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.server.ServiceInstanceFactoryImpl
All Implemented Interfaces:
ServiceInstanceFactory

public class ServiceInstanceFactoryImpl
extends java.lang.Object
implements ServiceInstanceFactory

This class will be responsible for creating an instance of a web service implementation class for each incoming request into the JAX-WS runtime.


Constructor Summary
ServiceInstanceFactoryImpl()
           
 
Method Summary
 java.lang.Object createServiceInstance(MessageContext request, java.lang.Class serviceClass)
          This method will create, or otherwise obtain a reference to an instance of a web service implementation class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInstanceFactoryImpl

public ServiceInstanceFactoryImpl()
Method Detail

createServiceInstance

public java.lang.Object createServiceInstance(MessageContext request,
                                              java.lang.Class serviceClass)
                                       throws java.lang.Exception
Description copied from interface: ServiceInstanceFactory
This method will create, or otherwise obtain a reference to an instance of a web service implementation class. The expectation is that upon the completion of this method there will be a web service implementation instance cretaed and all necessary resource injection will have taken place.

Specified by:
createServiceInstance in interface ServiceInstanceFactory
Throws:
java.lang.Exception


Copyright © 2007 Apache Web Services Project. All Rights Reserved.