Class: Seasar::Container::SimpleComponentDef
Instance Attribute Summary
Attributes inherited from ComponentDef
#autobinding_def, #component_class, #component_name, #constructor, #container, #destructor, #instance_def, #onetime_proc
Instance Method Summary
collapse
#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_deployer, #get_concreate_class, #get_property_def, #get_property_def_size, #get_property_defs, #has_property_def
Constructor Details
#initialize(component, component_name = nil) ⇒ SimpleComponentDef
- args
- Object component
- Symbol|String name
26
27
28
29
|
# File 'lib/seasar/container/simple-component-def.rb', line 26
def initialize(component, component_name = nil)
super(component.class, component_name)
@component = component
end
|
Instance Method Details
#destroy ⇒ Object
59
60
|
# File 'lib/seasar/container/simple-component-def.rb', line 59
def destroy
end
|
#get_component ⇒ Object
Also known as:
get, component, []
37
38
39
|
# File 'lib/seasar/container/simple-component-def.rb', line 37
def get_component
return @component
end
|
#init ⇒ Object
50
51
|
# File 'lib/seasar/container/simple-component-def.rb', line 50
def init
end
|