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 org.granite.messaging.service.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(org.granite.util.XMap properties)
           
 org.granite.messaging.service.ServiceInvoker<?> getServiceInstance(flex.messaging.messages.RemotingMessage request)
           
 void setApplicationContext(org.springframework.context.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(org.springframework.context.ApplicationContext applicationContext)

configure

public void configure(org.granite.util.XMap properties)
               throws org.granite.messaging.service.ServiceException
Overrides:
configure in class org.granite.messaging.service.ServiceFactory
Throws:
org.granite.messaging.service.ServiceException

getServiceInstance

public org.granite.messaging.service.ServiceInvoker<?> getServiceInstance(flex.messaging.messages.RemotingMessage request)
                                                                   throws org.granite.messaging.service.ServiceException
Specified by:
getServiceInstance in class org.granite.messaging.service.ServiceFactory
Throws:
org.granite.messaging.service.ServiceException