it.amattioli.springate
Class SpringServiceFactory

java.lang.Object
  extended by it.amattioli.springate.SpringServiceFactory
All Implemented Interfaces:
ServiceFactory, org.springframework.context.ApplicationContextAware

public class SpringServiceFactory
extends Object
implements ServiceFactory, org.springframework.context.ApplicationContextAware


Constructor Summary
SpringServiceFactory()
           
SpringServiceFactory(String... springConfig)
           
 
Method Summary
 Object createService(String serviceName)
           
 boolean knowsService(String serviceName)
           
 void setApplicationContext(org.springframework.context.ApplicationContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringServiceFactory

public SpringServiceFactory()

SpringServiceFactory

public SpringServiceFactory(String... springConfig)
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

createService

public Object createService(String serviceName)
Specified by:
createService in interface ServiceFactory

knowsService

public boolean knowsService(String serviceName)
Specified by:
knowsService in interface ServiceFactory


Copyright © 2013. All Rights Reserved.