org.cruxframework.crux.core.server.rest.core.registry
Class RestServiceFactoryImpl
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestServiceFactoryImpl
public RestServiceFactoryImpl()
- This Constructor select the best strategy to use.
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.