org.cruxframework.crux.core.server.rest.core.registry
Class RestServiceFactoryImpl

java.lang.Object
  extended by org.cruxframework.crux.core.server.rest.core.registry.RestServiceFactoryImpl
All Implemented Interfaces:
RestServiceFactory

public class RestServiceFactoryImpl
extends Object
implements RestServiceFactory

Scanner for rest services

Author:
Thiago da Rosa de Bustamante

Constructor Summary
RestServiceFactoryImpl()
          This Constructor select the best strategy to use.
 
Method Summary
 Object getService(Class<?> serviceClass)
           
 Class<?> getServiceClass(String serviceName)
           
 void initialize(javax.servlet.ServletContext context)
           
 Iterator<String> iterateRestServices()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestServiceFactoryImpl

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

Method Detail

getServiceClass

public Class<?> getServiceClass(String serviceName)
Specified by:
getServiceClass in interface RestServiceFactory
Parameters:
serviceName -
Returns:

iterateRestServices

public Iterator<String> iterateRestServices()
Specified by:
iterateRestServices in interface RestServiceFactory

initialize

public void initialize(javax.servlet.ServletContext context)
Specified by:
initialize in interface RestServiceFactory

getService

public Object getService(Class<?> serviceClass)
Specified by:
getService in interface RestServiceFactory


Copyright © 2015. All rights reserved.