Class AbstractService

All Implemented Interfaces:
ILRMIService, Service, ServiceProxyAccessor, Remote, Administrable
Direct Known Subclasses:
JSpaceServiceImpl, SpaceImpl

public abstract class AbstractService extends AbstractGigaSpacesService implements Service
Copyright (c) 2010 GigaSpaces Technologies Ltd. All rights reserved The software source code is proprietary and confidential information of GigaSpaces. You may use the software source code solely under the terms and limitations of The license agreement granted to you by GigaSpaces.
  • Field Details

  • Constructor Details

    • AbstractService

      public AbstractService(LifeCycle lifeCycle)
  • Method Details

    • registerLookupService

      public void registerLookupService(DiscoveryListener listener, boolean useSharedLeaseRenewalManager) throws ServiceRegistrationException
      Throws:
      ServiceRegistrationException
    • filterUnicastHosts

      protected String filterUnicastHosts(String unicastHosts)
      Hook for subclasses to filter or remap the unicast LUS hosts before registration. The default implementation returns the hosts unchanged.

      Subclasses such as SpaceImpl may override this to implement partition-based LUS selection (e.g., modulo distribution for scaling beyond per-LUS registration limits).

    • getContainerName

      public abstract String getContainerName()
    • shutdown

      public abstract void shutdown() throws RemoteException
      Throws:
      RemoteException
    • getAdmin

      public Object getAdmin()
      Return service admin proxy
      Specified by:
      getAdmin in interface Administrable
      Returns:
      an object that implements whatever administration interfaces are appropriate for the particular service.
      See Also: