public abstract class RemotingSupport extends ObjectSE implements BeanClassLoaderAware
コンストラクターと説明 |
---|
RemotingSupport() |
修飾子と型 | メソッドと説明 |
---|---|
protected ClassLoaderSE | getBeanClassLoader() このアクセサーが動作する ClassLoader を返します。これは、直列化復元およびプロキシの生成に使用されます。 |
protected ClassLoaderSE | overrideThreadContextClassLoader() 必要に応じて、スレッドコンテキスト ClassLoader を環境の Bean ClassLoader でオーバーライドします。 |
protected void | resetThreadContextClassLoader(ClassLoaderSE original) 必要に応じて、元のスレッドコンテキスト ClassLoader をリセットします。 |
void | setBeanClassLoader(ClassLoaderSE classLoader) Bean class loader SE を Bean インスタンスに提供するコールバック。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected final Log logger
public void setBeanClassLoader(ClassLoaderSE classLoader)
BeanClassLoaderAware
class loader
SE を Bean インスタンスに提供するコールバック。 通常の Bean プロパティの設定後、ただし InitializingBean's
InitializingBean.afterPropertiesSet()
メソッドやカスタム init-method などの初期化コールバックの前に呼び出されます。
BeanClassLoaderAware
の setBeanClassLoader
classLoader
- 所有クラスローダー protected ClassLoaderSE getBeanClassLoader()
@Nullable protected ClassLoaderSE overrideThreadContextClassLoader()
null
protected void resetThreadContextClassLoader(@Nullable ClassLoaderSE original)
original
- 元のスレッドコンテキスト ClassLoader、またはオーバーライドされない場合は null
(リセットするものはありません)