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.DisposableBeanpublic 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.InitializingBeanExceptionpublic ServiceDetails[] getServicesDetails()
ServiceDetailsProvidergetServicesDetails in interface ServiceDetailsProviderpublic ServiceMonitors[] getServicesMonitors()
ServiceMonitorsProvidergetServicesMonitors in interface ServiceMonitorsProviderpublic void setClusterInfo(ClusterInfo clusterInfo)
ClusterInfoAwareNote, 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 ClusterInfoAwareclusterInfo - The cluster information to be injectedCopyright © GigaSpaces.