Class: Seasar::Container::OuterComponentDef

Inherits:
ComponentDef show all
Defined in:
lib/seasar/container/outer-component-def.rb

Instance Attribute Summary collapse

Attributes inherited from ComponentDef

#autobinding_def, #component_class, #component_name, #container, #instance_def, #onetime_proc, #procedure

Instance Method Summary collapse

Methods inherited from ComponentDef

#add_arg_def, #add_aspect_def, #add_property_def, #get_arg_def, #get_arg_def_size, #get_arg_defs, #get_aspect_def, #get_aspect_def_size, #get_component, #get_component_deployer, #get_concreate_class, #get_property_def, #get_property_def_size, #get_property_defs, #has_property_def

Constructor Details

#initialize(container) ⇒ OuterComponentDef

  • args

    1. Seasar::Container::S2Contaner container



25
26
27
28
29
30
# File 'lib/seasar/container/outer-component-def.rb', line 25

def initialize(container)
  super(self.class)
  @container = container
  @instance_def = Seasar::Container::Deployer::InstanceDefFactory.get_instance_def(InstanceDef::OUTER_NAME)
  @instance = nil
end

Instance Attribute Details

#instanceObject

Returns the value of attribute instance.



31
32
33
# File 'lib/seasar/container/outer-component-def.rb', line 31

def instance
  @instance
end