Package org.apache.shiro.lang.util
package org.apache.shiro.lang.util
Shiro lang.util package-info.
-
ClassDescriptionAssertion utility class that assists in validating arguments.A
ByteSourcewraps a byte array and provides additional encoding operations.Utility class that can construct ByteSource instances.To use try-with-resources idiom, this class supports wrapping existing ByteSource object or byte array.Utility method library used to conveniently interact withClasses, such as acquiring them from the applicationClassLoaders and instantiating Objects from them.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.Shiro container-agnostic interface that indicates that this object requires initialization.Runtime exception thrown by the framework when unable to instantiate a Class via reflection.Utility class to help callInitializable.init()andDestroyable.destroy()methods cleanly on any object.Interface implemented by components that can be named, such as via configuration, and wish to have that name set once it has been configured.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.Simple utility class for String operations useful across the framework.The Shiro framework'sRuntimeExceptionequivalent of the JDK'sClassNotFoundException, to maintain a RuntimeException paradigm.