public class InstantiatorFactoryBean extends ObjectSE implements BeanClassLoaderAware, FactoryBean<CollectionSE<org.apache.geode.Instantiator>>, InitializingBean
FactoryBean は、Spring コンテナー内で、InstantiatorGenerator を介してカスタム Instantiator の登録を容易にします。デフォルトでは、戻り値の Instantiator (カスタムジェネレーターが指定されていない場合は AsmInstantiatorGenerator を介して作成) は、起動時に GemFire に登録されます。OBJECT_TYPE_ATTRIBUTE| コンストラクターと説明 |
|---|
InstantiatorFactoryBean() |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() |
CollectionSE<org.apache.geode.Instantiator> | getObject() |
ClassSE<?> | getObjectType() |
boolean | isSingleton() |
void | setAutoRegister(boolean autoRegister) コンテナーの起動時にこの Instantiator の自動登録を設定します。 |
void | setBeanClassLoader(ClassLoaderSE classLoader) |
void | setCustomTypes(MapSE<ClassSE<? extends org.apache.geode.DataSerializable>,IntegerSE> types)Instantiator を生成するためのカスタム型と関連するユーザー ID を設定します。 |
void | setDistribute(boolean distribute) コンテナーの起動時にこの Instantiator の領域の分布を設定します。 |
void | setGenerator(InstantiatorGenerator generator)Instantiator の作成に使用するジェネレーターを設定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic void afterPropertiesSet()
throws ExceptionSEInitializingBean 内の afterPropertiesSet ExceptionSEpublic CollectionSE<org.apache.geode.Instantiator> getObject() throws ExceptionSE
FactoryBean<CollectionSE<org.apache.geode.Instantiator>> 内の getObject ExceptionSEpublic ClassSE<?> getObjectType()
FactoryBean<CollectionSE<org.apache.geode.Instantiator>> 内の getObjectType public boolean isSingleton()
FactoryBean<CollectionSE<org.apache.geode.Instantiator>> 内の isSingleton public void setBeanClassLoader(ClassLoaderSE classLoader)
BeanClassLoaderAware 内の setBeanClassLoader public void setCustomTypes(MapSE<ClassSE<? extends org.apache.geode.DataSerializable>,IntegerSE> types)
Instantiator を生成するためのカスタム型と関連するユーザー ID を設定します。types - カスタム型をキーとして、関連付けられたユーザー ID を値として含むマップ。public void setGenerator(InstantiatorGenerator generator)
Instantiator の作成に使用するジェネレーターを設定します。generator - 設定するジェネレーター public void setAutoRegister(boolean autoRegister)
Instantiator の自動登録を設定します。デフォルトは true で、このファクトリが初期化されると登録が行われます。autoRegister - 設定する autoRegisterInstantiator.register(Instantiator)public void setDistribute(boolean distribute)
Instantiator の領域の配布を設定します。デフォルトは false で、登録は他のクライアントに配布されません。distribute - 登録が配布可能かどうか Instantiator.register(Instantiator, boolean)Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.