org.cruxframework.crux.core.server.dispatch
Class ServiceFactoryImpl

java.lang.Object
  extended by org.cruxframework.crux.core.server.dispatch.ServiceFactoryImpl
All Implemented Interfaces:
ServiceFactory

public class ServiceFactoryImpl
extends Object
implements ServiceFactory

Default ServiceFactory implementation. It will use the first implementation found to the given interface passed.

Author:
Thiago da Rosa de Bustamante

Constructor Summary
ServiceFactoryImpl()
          This Constructor select the best strategy to use.
 
Method Summary
 Object getService(String serviceName)
           
 void initialize(javax.servlet.ServletContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceFactoryImpl

public ServiceFactoryImpl()
This Constructor select the best strategy to use.

Method Detail

getService

public Object getService(String serviceName)
Specified by:
getService in interface ServiceFactory
See Also:
ServiceFactory.getService(java.lang.String)

initialize

public void initialize(javax.servlet.ServletContext context)
Specified by:
initialize in interface ServiceFactory
See Also:
ServiceFactory.initialize(javax.servlet.ServletContext)


Copyright © 2014. All rights reserved.