Package org.apache.shiro.util

Your run-of-the-mill 'util' pacakge for components and logic widely used across the framework that can't find their home into a proper OO hierarchy (or, most likely for things used across many hierarchies).

See:
          Description

Interface Summary
ByteSource A ByteSource wraps 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.
PatternMatcher Interface for components that can match source strings against a specified pattern string.
ThreadState A ThreadState instance manages any state that might need to be bound and/or restored during a thread's execution.
 

Class Summary
AbstractFactory<T> TODO - Class JavaDoc
AntPathMatcher PathMatcher implementation for Ant-style path patterns.
ByteSource.Util Utility class that can construct ByteSource instances.
ClassUtils Utility method library used to conveniently interact with Classes, such as acquiring them from the application ClassLoaders and instantiating Objects from them.
CollectionUtils Static helper class for use dealing with Collections.
JavaEnvironment Internal helper class used to find the Java/JDK version that Shiro is operating within, to allow for automatically adapting to the present platform's capabilities.
JdbcUtils A set of static helper methods for managing JDBC API objects.
LifecycleUtils Utility class to help call Initializable.init() and Destroyable.destroy() methods cleanly on any object.
MapContext A MapContext provides a common base for context-based data storage in a Map.
PermissionUtils Utility class to help with String-to-Permission object resolution.
RegExPatternMatcher PatternMatcher implementation that uses standard java.util.regex objects.
SimpleByteSource Very simple ByteSource implementation that maintains an internal byte[] array and uses the Hex and Base64 codec classes to support the toHex() and toBase64() implementations.
SoftHashMap<K,V> A SoftHashMap is a memory-constrained map that stores its values in SoftReferences.
StringUtils Simple utility class for String operations useful across the framework.
ThreadContext A ThreadContext provides a means of binding and unbinding objects to the current thread based on key/value pairs.
 

Exception Summary
InstantiationException Runtime exception thrown by the framework when unable to instantiate a Class via reflection.
UnavailableConstructorException Exception thrown when attempting to instantiate a Class via reflection, but a suitable constructor (depending on the number of expected arguments) doesn't exist or cannot be obtained.
UnknownClassException The Shiro framework's RuntimeException equivalent of the JDK's ClassNotFoundException, to maintain a RuntimeException paradigm.
 

Package org.apache.shiro.util Description

Your run-of-the-mill 'util' pacakge for components and logic widely used across the framework that can't find their home into a proper OO hierarchy (or, most likely for things used across many hierarchies).



Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.