org.objectweb.jonas.ws
Interface JServiceFactory

All Superinterfaces:
javax.naming.spi.ObjectFactory
All Known Implementing Classes:
JAxisServiceFactory

public interface JServiceFactory
extends javax.naming.spi.ObjectFactory

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

Author:
Guillaume Sauthier

Method Summary
 javax.naming.Reference getServiceReference(ServiceRefDesc sr, java.lang.ClassLoader cl)
          Create the Refrence associated with the service-ref (to be bound in JNDI)
 
Methods inherited from interface javax.naming.spi.ObjectFactory
getObjectInstance
 

Method Detail

getServiceReference

javax.naming.Reference getServiceReference(ServiceRefDesc sr,
                                           java.lang.ClassLoader cl)
                                           throws WSServiceException
Create the Refrence associated with the service-ref (to be bound in JNDI)

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