public interface Bean
The administrative Bean is configured by either a strongly typed API (see
by a weakly typed String key-value pair property API (see
These properties are supplied upon the bean's construction (see
A request to set a bean's configuration (see
), 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
A request to disable a bean (see
BeanConfigManager.disableBean(Class)), will destroy the
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
BeanConfigManager.setBeanConfig(BeanConfig)), will 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.