org.objectweb.jonas.ws
Interface JServiceFactory

All Known Implementing Classes:
JAxisServiceFactory

public interface JServiceFactory

JServiceFactory is used to create the JaxRpc Service. It must be implemented for all different WebServices Engine.

Author:
Guillaume Sauthier

Method Summary
 javax.xml.rpc.Service getService(ServiceRef sr, java.lang.ClassLoader cl)
          Create the JaxRpx Service Object associated with the service-ref
 

Method Detail

getService

public javax.xml.rpc.Service getService(ServiceRef sr,
                                        java.lang.ClassLoader cl)
                                 throws WSServiceException
Create the JaxRpx Service Object associated with the service-ref

Parameters:
sr - The service-ref description
cl - The classloader used to load Service class
Returns:
The Service object
Throws:
WSServiceException - When instantiation fails