Package org.openspaces.core.space
Class RestBean
java.lang.Object
org.openspaces.core.space.RestBean
- All Implemented Interfaces:
ClusterInfoAware,ServiceDetailsProvider,ServiceMonitorsProvider,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
public class RestBean
extends Object
implements org.springframework.beans.factory.InitializingBean, ClusterInfoAware, org.springframework.beans.factory.DisposableBean, ServiceDetailsProvider, ServiceMonitorsProvider
- Since:
- 10.1.0
- Author:
- yohana
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()Retruns one or more service details that the service exposes.Retruns one or more service details that the service exposes.voidsetClusterInfo(ClusterInfo clusterInfo) Sets the cluster information.voidsetGigaSpace(GigaSpace gigaSpace) voidvoidsetLocators(String locators) voidvoidsetProperties(Properties properties) voidsetSpaceName(String spaceName)
-
Field Details
-
logger
protected org.apache.commons.logging.Log logger
-
-
Constructor Details
-
RestBean
public RestBean()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
setPort
-
setGigaSpace
-
setSpaceName
-
setGroups
-
setLocators
-
setProperties
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getServicesDetails
Description copied from interface:ServiceDetailsProviderRetruns one or more service details that the service exposes.- Specified by:
getServicesDetailsin interfaceServiceDetailsProvider
-
getServicesMonitors
Description copied from interface:ServiceMonitorsProviderRetruns one or more service details that the service exposes.- Specified by:
getServicesMonitorsin interfaceServiceMonitorsProvider
-
setClusterInfo
Description copied from interface:ClusterInfoAwareSets the cluster information.Note, the cluster information is obtained externally from the application context which means that this feature need to be supported by specific containers (and is not supported by plain Spring application context). This means that beans that implement
ClusterInfoAwareshould take into account the fact that the cluster info provided might be null.- Specified by:
setClusterInfoin interfaceClusterInfoAware- Parameters:
clusterInfo- The cluster information to be injected
-