Silk DI 0.6


se.jbee.inject
Interface Scope


public interface Scope

A Scope describes a particular lifecycle. Thereby the Scope itself acts as a factory for Repositorys. Each Injector has a single Repository for each Scope.

Author:
Jan Bernitt (jan@jbee.se)

Method Summary
 Repository init()
          Creates a empty Repository that stores instances in this Scope.
 

Method Detail

init

Repository init()
Creates a empty Repository that stores instances in this Scope.

Returns:
a empty instance in this Scope.

Silk DI 0.6