org.objectweb.jonas.ws
Interface JServiceFactory

All Superinterfaces:
ObjectFactory
All Known Implementing Classes:
JAxisServiceFactory

public interface JServiceFactory
extends ObjectFactory

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

Author:
Guillaume Sauthier

Method Summary
 Reference getServiceReference(IServiceRefDesc sr, 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

Reference getServiceReference(IServiceRefDesc sr,
                              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


Copyright © 2007 OW2 Consortium. All Rights Reserved.