public class WiringInstantiator extends org.apache.geode.Instantiator implements BeanFactoryAware, InitializingBean, DisposableBean
Instantiator.register(Instantiator) を介して Instantiator として登録されます。この動作は、setAutoRegister(boolean) を介して無効にできます。さらに、インスタンシエーターの登録はデフォルトでは配布されないため、アプリケーションコンテキストを再利用することができます。これは、setDistribute(boolean) を介して変更できます。BeanConfigurerSupport, BeanWiringInfoResolver, Autowired, ResourceSE| コンストラクターと説明 |
|---|
WiringInstantiator(ClassSE<? extends org.apache.geode.DataSerializable> c, int classId) |
WiringInstantiator(org.apache.geode.Instantiator instantiator) |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() |
void | destroy() |
org.apache.geode.DataSerializable | newInstance() |
void | setAutoRegister(boolean autoRegister) コンテナーの起動時にこの Instantiator の自動登録を設定します。 |
void | setBeanFactory(BeanFactory beanFactory) |
void | setConfigurer(BeanConfigurerSupport configurer) 新しく作成されたインスタンスの構成を担当するマネージャーを設定します。 |
void | setDistribute(boolean distribute) コンテナーの起動時にこの Instantiator の領域の分布を設定します。 |
getContext, getEventId, getId, getInstantiatedClass, register, register, setContext, setEventIdcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic WiringInstantiator(org.apache.geode.Instantiator instantiator)
public WiringInstantiator(ClassSE<? extends org.apache.geode.DataSerializable> c, int classId)
public void afterPropertiesSet()
InitializingBean 内の afterPropertiesSet public void destroy()
throws ExceptionSEDisposableBean 内の destroy ExceptionSEpublic void setBeanFactory(BeanFactory beanFactory) throws BeansException
BeanFactoryAware 内の setBeanFactory BeansExceptionpublic org.apache.geode.DataSerializable newInstance()
org.apache.geode.Instantiator の newInstance public void setConfigurer(BeanConfigurerSupport configurer)
configurer - 設定するコンフィギュラ 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–2023 Pivotal Software, Inc.. All rights reserved.