Class: Seasar::Container::Deployer::OuterComponentDeployer
- Inherits:
-
AbstractComponentDeployer
- Object
- AbstractComponentDeployer
- Seasar::Container::Deployer::OuterComponentDeployer
- Defined in:
- lib/seasar/container/deployer/outer-component-deployer.rb
Overview
コンポーネントのインスタンス管理をOuterとするDeployerクラスです。
Instance Method Summary collapse
-
#deploy ⇒ Object
コンポーネントを構築します。 - args - none - return - Object.
-
#initialize(component_def) ⇒ OuterComponentDeployer
constructor
OuterComponentDeployerを構築します。 - args 1.
Methods inherited from AbstractComponentDeployer
#destroy, #init, #setup_assembler
Constructor Details
#initialize(component_def) ⇒ OuterComponentDeployer
OuterComponentDeployerを構築します。
-
args
-
Seasar::Container::ComponentDef component_def
-
28 29 30 |
# File 'lib/seasar/container/deployer/outer-component-deployer.rb', line 28 def initialize(component_def) super end |
Instance Method Details
#deploy ⇒ Object
コンポーネントを構築します。
-
args
-
none
-
-
return
-
Object
-
37 38 39 40 41 42 |
# File 'lib/seasar/container/deployer/outer-component-deployer.rb', line 37 def deploy Seasar::Beans::BeanDescFactory.remove_bean_desc(@component_def.instance) @property_assembler.assemble(@component_def.instance) Seasar::Beans::BeanDescFactory.remove_bean_desc(@component_def.instance) return @component_def.instance end |