DevPortal

How do I Configure Singleton Services in Pramati Server?


Singleton services are configured and registered through the Singleton Service Manager SPI.

Singleton Service Manager is a service that is registered with the Pramati Services Framework. This service can be looked up from JNDI using the lookup name _PramatiInternalBindings/_SingletonServiceManager or using the constant com.pramati.util.naming.BindNamesAndDefaultParamValues.SINGLETON_SERVICE_MANAGER

SPI for com.pramati.services.cluster.spi.SingletonServiceManager

public interface SingletonServiceManager
  {
   public void registerSingletonService(SingletonService service) throws ServiceStartException;
   public void deRegisterSingletonService(SingletonService service);
  }


Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal