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 |
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. |
createServiceInstance
java.lang.Object createServiceInstance(MessageContext request,
java.lang.Class serviceClass)
throws java.lang.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:
java.lang.Exception
Copyright © 2007 Apache Web Services Project. All Rights Reserved.