Package org.apache.axis2.jaxws.server
Interface ServiceInstanceFactory
-
- All Known Implementing Classes:
ServiceInstanceFactoryImpl
public interface ServiceInstanceFactory
Code wishing to create web service implementation instances for JAX-WS requests must implement this interface and register it with the the JAX-WS FactoryRegistry. The instance of this factory will be looked up and utilized by the JAX-WS runtime in order to create or otherwise obtain a web service implementation instance for any request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
createServiceInstance(MessageContext request, Class serviceClass)
This method will create, or otherwise obtain a reference to an instance of a web service implementation class.
-
-
-
Method Detail
-
createServiceInstance
Object createServiceInstance(MessageContext request, Class serviceClass) throws Exception
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.- Throws:
Exception
-
-