Package org.microbean.scopelet
package org.microbean.scopelet
Provides classes and interfaces implementing scopelets, lifecycle managers for beans.
- Author:
- Laird Nelson
-
ClassDescriptionA
ScopeletExceptionindicating that during contextual instance creation a cycle was detected.Instance<I>AnAutoCloseablepairing of a contextual instance that can be destroyed with aInstance.Destructorthat can destroy it and aDestructionview of theCreationthat caused it to be created.An interface whose implementations can destroy contextual instances.MapBackedScopelet<M extends MapBackedScopelet<M>>A thread-safe, partialScopeletimplementation backed byConcurrentMapmachinery.AScopeletimplementation that does not cache objects at all.AnInstancesimplementation that is based on scopes.A manager of object lifespans on behalf of one or more notional scopes.ARuntimeExceptionindicating a problem with aScopelet.AMapBackedScopeletimplementation that caches singletons.AScopeletExceptionindicating that there were too many activeScopelets when zero or one was expected.