Package org.apache.shiro.util
-
Interface Summary Interface Description ByteSource AByteSourcewraps a byte array and provides additional encoding operations.Destroyable Shiro container-agnostic interface that indicates that this object requires a callback during destruction.Factory<T> Generics-aware interface supporting the Factory Method design pattern.Initializable Shiro container-agnostic interface that indicates that this object requires initialization.Nameable Interface implemented by components that can be named, such as via configuration, and wish to have that name set once it has been configured. -
Class Summary Class Description Assert Assertion utility class that assists in validating arguments.ByteSource.Util Utility class that can construct ByteSource instances.ClassUtils Utility method library used to conveniently interact withClasses, such as acquiring them from the applicationClassLoaders and instantiating Objects from them.LifecycleUtils Utility class to help callInitializable.init()andDestroyable.destroy()methods cleanly on any object.SimpleByteSource Very simpleByteSourceimplementation that maintains an internalbyte[]array and uses theHexandBase64codec classes to support thetoHex()andtoBase64()implementations.SoftHashMap<K,V> ASoftHashMapis a memory-constrained map that stores its values inSoftReferences.StringUtils Simple utility class for String operations useful across the framework. -
Exception Summary Exception Description InstantiationException Runtime exception thrown by the framework when unable to instantiate a Class via reflection.UnknownClassException The Shiro framework'sRuntimeExceptionequivalent of the JDK'sClassNotFoundException, to maintain a RuntimeException paradigm.