Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 411 Bytes

ImmutablePicoContainer.md

File metadata and controls

12 lines (9 loc) · 411 Bytes
layout title
article
TransientPicoContainer

ImmutablePicoContainer is wrapper mechanisms for a MutablePicoContainer. The resulting reference is not able to accept mutating method invocations by any means.

Here is an example of use:

PicoContainer imPC = new ImmutablePicoContainer(someMutableContainer); // imPC has no addComponent methods nor can it be cast back to MutablePicoContainer