org.granite.tide.spring
Class SpringServiceFactory

java.lang.Object
  extended by org.granite.messaging.service.ServiceFactory
      extended by org.granite.tide.spring.SpringServiceFactory

public class SpringServiceFactory
extends ServiceFactory

Author:
Sebastien Deleuze

Field Summary
static String ENTITY_MANAGER_FACTORY_BEAN_NAME
           
static String PERSISTENCE_MANAGER_BEAN_NAME
           
 
Constructor Summary
SpringServiceFactory()
           
 
Method Summary
 void configure(XMap properties)
           
 ServiceInvoker<?> getServiceInstance(RemotingMessage request)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class org.granite.messaging.service.ServiceFactory
getFactoryInstance, getServiceExceptionHandler, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PERSISTENCE_MANAGER_BEAN_NAME

public static final String PERSISTENCE_MANAGER_BEAN_NAME
See Also:
Constant Field Values

ENTITY_MANAGER_FACTORY_BEAN_NAME

public static final String ENTITY_MANAGER_FACTORY_BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

SpringServiceFactory

public SpringServiceFactory()
Method Detail

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)

configure

public void configure(XMap properties)
               throws ServiceException
Overrides:
configure in class ServiceFactory
Throws:
ServiceException

getServiceInstance

public ServiceInvoker<?> getServiceInstance(RemotingMessage request)
                                     throws ServiceException
Specified by:
getServiceInstance in class ServiceFactory
Throws:
ServiceException