public interface Bean
The administrative Bean is configured by either a strongly typed API (see
BeanConfig), or by a weakly typed String key-value pair property API (see
BeanConfigPropertiesManager). These properties are supplied upon the bean's construction (see
A request to set a bean's configuration (see
BeanConfigManager.setBeanConfig(BeanConfig) ), will store the configuration properties at the
server until the bean is enabled (or removed).
A request to enable a bean (see
BeanConfigManager.enableBean(Class)), will be accepted by the bean factory - which initializes
the bean, sets the properties and invokes a call to
to disable a bean (see
BeanConfigManager.disableBean(Class)), will destroy the bean
destroy()). The configuration properties will remain at the server until the bean is
completely removed (see
A request to set
a bean with different properties (see
destroy the bean if it is already enabled, and re-enable it with the new configuration
properties. If the bean wasn't enabled, the properties are stored at the server until the bean is
enabled (or removed).
|Modifier and Type||Method and Description|
Invoked by a bean factory after it has set all bean properties.
Invoked by a bean factory on destruction of a singleton.
Set the Admin instance to be used by this Bean.
The bean properties supplied using a client side bean configuration object, or by plain String key-value pairs.
void setAdmin(Admin admin)
admin- an Admin instance.
properties- properties to configure this bean.
void afterPropertiesSet() throws Exception
Copyright © GigaSpaces.