org.granite.messaging.service
Class EjbServiceFactory

java.lang.Object
  extended by org.granite.messaging.service.ServiceFactory
      extended by org.granite.messaging.service.EjbServiceFactory

public class EjbServiceFactory
extends ServiceFactory

Author:
Franck WOLFF

Constructor Summary
EjbServiceFactory()
           
 
Method Summary
 void configure(XMap properties)
           
 String getLookup()
           
 ServiceInvoker<?> getServiceInstance(RemotingMessage request)
           
protected  String getUniqueKey(String destinationId)
           
 Object lookup(String name)
           
 void removeFromCache(String destinationId)
           
 String toString()
           
 
Methods inherited from class org.granite.messaging.service.ServiceFactory
getFactoryInstance, getServiceExceptionHandler, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EjbServiceFactory

public EjbServiceFactory()
                  throws ServiceException
Throws:
ServiceException
Method Detail

lookup

public Object lookup(String name)
              throws NamingException
Throws:
NamingException

getLookup

public String getLookup()

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

getUniqueKey

protected String getUniqueKey(String destinationId)

removeFromCache

public void removeFromCache(String destinationId)

toString

public String toString()
Overrides:
toString in class ServiceFactory