public class RestBean extends Object implements org.springframework.beans.factory.InitializingBean, ClusterInfoAware, org.springframework.beans.factory.DisposableBean, ServiceDetailsProvider, ServiceMonitorsProvider
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
RestBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
ServiceDetails[] |
getServicesDetails()
Retruns one or more service details that the service exposes.
|
ServiceMonitors[] |
getServicesMonitors()
Retruns one or more service details that the service exposes.
|
void |
setClusterInfo(ClusterInfo clusterInfo)
Sets the cluster information.
|
void |
setGigaSpace(GigaSpace gigaSpace) |
void |
setGroups(String groups) |
void |
setLocators(String locators) |
void |
setPort(String port) |
void |
setProperties(Properties properties) |
void |
setSpaceName(String spaceName) |
public void destroy()
destroy
in interface org.springframework.beans.factory.DisposableBean
public void setPort(String port)
public void setGigaSpace(GigaSpace gigaSpace)
public void setSpaceName(String spaceName)
public void setGroups(String groups)
public void setLocators(String locators)
public void setProperties(Properties properties)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public ServiceDetails[] getServicesDetails()
ServiceDetailsProvider
getServicesDetails
in interface ServiceDetailsProvider
public ServiceMonitors[] getServicesMonitors()
ServiceMonitorsProvider
getServicesMonitors
in interface ServiceMonitorsProvider
public void setClusterInfo(ClusterInfo clusterInfo)
ClusterInfoAware
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 ClusterInfoAware
should take into account the fact that the cluster info provided might be
null.
setClusterInfo
in interface ClusterInfoAware
clusterInfo
- The cluster information to be injectedCopyright © GigaSpaces.