org.granite.tide.cdi
Class CDIServiceFactory

java.lang.Object
  extended by org.granite.messaging.service.ServiceFactory
      extended by org.granite.tide.cdi.CDIServiceFactory
All Implemented Interfaces:
Serializable

public class CDIServiceFactory
extends org.granite.messaging.service.ServiceFactory

Author:
William DRAI
See Also:
Serialized Form

Field Summary
static String ENTITY_MANAGER_FACTORY_JNDI_NAME
           
static String ENTITY_MANAGER_JNDI_NAME
           
 
Constructor Summary
CDIServiceFactory()
           
 
Method Summary
 void configure(org.granite.util.XMap properties)
           
 BeanManager getManager()
           
 org.granite.messaging.service.ServiceInvoker<?> getServiceInstance(flex.messaging.messages.RemotingMessage request)
           
 
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

ENTITY_MANAGER_FACTORY_JNDI_NAME

public static final String ENTITY_MANAGER_FACTORY_JNDI_NAME
See Also:
Constant Field Values

ENTITY_MANAGER_JNDI_NAME

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

CDIServiceFactory

public CDIServiceFactory()
Method Detail

getManager

public BeanManager getManager()

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