@Deprecated public final class ObjectGridSpringFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SCOPE_SHARD
Deprecated.
Scope identifier for shard scope: "shard".
|
| Constructor and Description |
|---|
ObjectGridSpringFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static BeanFactory |
getBeanFactoryForObjectGrid(String objectGridName)
Deprecated.
This returns the currently registered external bean factory for a named object grid.
|
static Object |
getBeanInShardScope(ObjectGrid shard,
String beanName)
Deprecated.
This returns an instance of the named Spring bean with the current shard scope using the specified ObjectGrid instance.
|
static SpringLocalTxManager |
getLocalPlatformTransactionManager()
Deprecated.
This returns an ObjectGrid PlatformLocalTransactionManager.
|
static void |
registerSpringBeanFactoryAdapter(String objectGridName,
Object springBeanFactory)
Deprecated.
This returns an adapter for a Spring based bean factory.
|
public static final String SCOPE_SHARD
public static SpringLocalTxManager getLocalPlatformTransactionManager()
public static void registerSpringBeanFactoryAdapter(String objectGridName, Object springBeanFactory) throws ClassCastException
objectGridName - the name of the ObjectGridspringBeanFactory - A Spring BeanFactory instance.ClassCastException - thrown when the Object type is not a BeanFactory instance.public static BeanFactory getBeanFactoryForObjectGrid(String objectGridName)
objectGridName - The name of the ObjectGridpublic static Object getBeanInShardScope(ObjectGrid shard, String beanName)
shard - The ObjectGrid instance to use to scope Spring beans using "shard" as scope.beanName - The bean to returnSCOPE_SHARD