public final class DefaultDestroyMethod extends java.lang.Object implements DestroyMethod
DestroyMethodのデフォルト実装クラス。| Constructor and Description |
|---|
DefaultDestroyMethod(java.lang.reflect.Method method)
コンストラクタ。
|
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(java.lang.Object component)
メソッドを実行する。
|
void |
validate(ContainerBuilder<?> containerBuilder,
ComponentDefinition<?> self)
バリデーションを行う。
|
public DefaultDestroyMethod(java.lang.reflect.Method method)
method - 破棄メソッドpublic void invoke(java.lang.Object component)
DestroyMethodinvoke in interface DestroyMethodcomponent - メソッドが実行されるコンポーネントpublic void validate(ContainerBuilder<?> containerBuilder, ComponentDefinition<?> self)
DestroyMethodvalidate in interface DestroyMethodcontainerBuilder - DIコンテナのビルダーself - 自身を含んでいるコンポーネント定義