net.sf.crispy.server
Class ServiceCreatorDefaultImpl

java.lang.Object
  extended bynet.sf.crispy.server.ServiceCreatorDefaultImpl
All Implemented Interfaces:
ServiceCreator

public class ServiceCreatorDefaultImpl
extends java.lang.Object
implements ServiceCreator

Default implementation.

Author:
Linke

Constructor Summary
ServiceCreatorDefaultImpl()
           
 
Method Summary
 java.lang.Object createService(java.lang.String pvServiceInterfaceClassName, java.lang.String pvServiceImplClassName)
          With reflection Class.forName and newInstance create a new service instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceCreatorDefaultImpl

public ServiceCreatorDefaultImpl()
Method Detail

createService

public java.lang.Object createService(java.lang.String pvServiceInterfaceClassName,
                                      java.lang.String pvServiceImplClassName)
                               throws java.lang.Exception
With reflection Class.forName and newInstance create a new service instance.

Specified by:
createService in interface ServiceCreator
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.