net.sf.crispy.server
Interface ServiceCreator

All Known Implementing Classes:
ServiceCreatorDefaultImpl

public interface ServiceCreator

Services are added to ServiceEndpoint as String. Sometimes it is better, if can register the ServiceImpl instance. For this cases, can implement this interface and can added service instances.

Author:
Linke

Method Summary
 java.lang.Object createService(java.lang.String pvServiceInterfaceClassName, java.lang.String pvServiceImplClassName)
          Create a Service instance.
 

Method Detail

createService

public java.lang.Object createService(java.lang.String pvServiceInterfaceClassName,
                                      java.lang.String pvServiceImplClassName)
                               throws java.lang.Exception
Create a Service instance.

Parameters:
pvServiceInterfaceClassName - The service interface name.
pvServiceImplClassName - The service implementation class name.
Returns:
The service instance.
Throws:
java.lang.Exception


Copyright © 2005-2006 Crispy. All Rights Reserved.