@FieldsAreNonnullByDefault @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault @Deprecated public class ClusterAwareFactoryBean<T> extends org.springframework.beans.factory.config.AbstractFactoryBean<T>
FactoryBean
locates another bean in the context for a given type.
If clustering is enabled, then the selected bean must have a definition with the qualifier "clustered-implementation".
If clustering is not enabled, then any bean of the given type is acceptable.
See HibernateRegionFactoryProvider
and its implementations.
See ClusterManager.isClustered()
Constructor and Description |
---|
ClusterAwareFactoryBean(ClusterManager clusterManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected T |
createInstance()
Deprecated.
|
Class |
getObjectType()
Deprecated.
|
void |
setDefaultBeanType(Class<? extends T> defaultBeanType)
Deprecated.
|
void |
setTargetBeanType(Class<T> targetBeanType)
Deprecated.
|
public ClusterAwareFactoryBean(ClusterManager clusterManager)
public Class getObjectType()
@RequiresNonNull(value="targetBeanType") public void afterPropertiesSet() throws Exception
@EnsuresNonNull(value="targetBeanType") public void setTargetBeanType(Class<T> targetBeanType)
Copyright © 2003–2023 Atlassian. All rights reserved.