org.ow2.jonas.ws.jaxrpc.factory
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:
Xavier Delplanque, Guillaume Sauthier

Method Summary
 Reference getServiceReference(IServiceRefDesc sr, ClassLoader cl)
          Create the Reference 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 WSException
Create the Reference 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:
WSException - When Reference creation fails


Copyright © 2010 OW2 Consortium. All Rights Reserved.