Class: Rioc::Bean::Scope

Inherits:
Object
  • Object
show all
Defined in:
lib/rioc/bean/bean.rb

Overview

Defines the scope of the bean

Constant Summary collapse

SINGLETON =

Single instance throughout the entire lifetime of the framework.

:singleton
TRANSIENT =

Create a new instance every time the bean is requested to be resolved.

:transient