Package com.j_spaces.core.service
Class AbstractService
java.lang.Object
com.gigaspaces.internal.service.AbstractGigaSpacesService
com.j_spaces.core.service.AbstractService
- All Implemented Interfaces:
ILRMIService,Service,ServiceProxyAccessor,Remote,Administrable
- Direct Known Subclasses:
JSpaceServiceImpl,SpaceImpl
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 Summary
FieldsFields inherited from class com.gigaspaces.internal.service.AbstractGigaSpacesService
SERVICE_ATTRIBUTE_MODIFY_AWAIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringfilterUnicastHosts(String unicastHosts) Hook for subclasses to filter or remap the unicast LUS hosts before registration.getAdmin()Return service admin proxyabstract StringvoidregisterLookupService(DiscoveryListener listener, boolean useSharedLeaseRenewalManager) abstract voidshutdown()Methods inherited from class com.gigaspaces.internal.service.AbstractGigaSpacesService
addLookupAttributes, addLookupAttributes, AppendInitialLookupAttributes, getExporter, getJoinManager, getLifeCycle, getServiceName, getServiceTypeDescription, getUuid, modifyLookupAttributes, registerLookupService, unregisterFromLookupServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.jini.start.ServiceProxyAccessor
getServiceProxy
-
Field Details
-
m_adminExporter
-
m_adminImpl
-
-
Constructor Details
-
AbstractService
-
-
Method Details
-
registerLookupService
public void registerLookupService(DiscoveryListener listener, boolean useSharedLeaseRenewalManager) throws ServiceRegistrationException - Throws:
ServiceRegistrationException
-
filterUnicastHosts
Hook for subclasses to filter or remap the unicast LUS hosts before registration. The default implementation returns the hosts unchanged.Subclasses such as
SpaceImplmay override this to implement partition-based LUS selection (e.g., modulo distribution for scaling beyond per-LUS registration limits). -
getContainerName
-
shutdown
- Throws:
RemoteException
-
getAdmin
Return service admin proxy- Specified by:
getAdminin interfaceAdministrable- Returns:
- an object that implements whatever administration interfaces are appropriate for the particular service.
- See Also:
-