Captures the stack trace associated with this exception.
Class from which all exceptions should inherit.
Construct a new CascadingError
instance.
Class from which all exceptions should inherit.
Construct a new CascadingException
instance.
Construct a new CascadingException
instance.
Class from which all exceptions should inherit.
Construct a new CascadingRuntimeException
instance.
Interface which all cascadign throwables should implement.
Handling hook for character data.
Handling hook for character data.
Check if this component m_manager is writeable.
Check if this component m_manager is writeable.
heck if this configuration is writeable.
Utility method to check if context is writeable and if not throw exception.
Checks if this ServiceManager
is writeable.
Checks if this service selector is writeable.
Checks is this Parameters
object is writeable.
Clears all data from this configuration handler.
Clears all data from this configuration handler.
Compare two versions together according to the
Comparable
interface.
Check this Version
against another for compliancy
(compatibility).
This interface identifies classes that can be used as Components
by a Composable
.
The exception thrown to indicate a problem with Components.
Construct a new ComponentException
instance.
Construct a new ComponentException
instance.
Construct a new ComponentException
instance.
Construct a new ComponentException
instance.
A ComponentManager
selects Component
s based on a
role.
A ComponentSelector
selects Component
s based on a
hint.
A Composable
class is one that needs to connect to software
components using a "role" abstraction, thus not depending on particular
implementations but on behavioral interfaces.
Pass the ComponentManager
to the composer
.
Supply specified object with ComponentManager if it implements the
Composable
interface.
This interface should be implemented by classes that need to be
configured with custom parameters before initialization.
Configuration
is a interface encapsulating a configuration node
used to retrieve configuration values.
Thrown when a Configurable
component cannot be configured
properly, or if a value cannot be retrieved properly.
Construct a new ConfigurationException
instance.
Construct a new ConfigurationException
instance.
Construct a new ConfigurationException
instance.
Construct a new ConfigurationException
instance.
Construct a new ConfigurationException
instance.
This class has a bunch of utility methods to work
with configuration objects.
Pass the Configuration
to the Configurable
class.
Configure specified object if it implements the
Configurable
interface.
Logger sending everything to the standard output streams.
Creates a new ConsoleLogger with the priority set to DEBUG.
Creates a new ConsoleLogger.
Utility class that makes it easier to transfer
a component throught it's lifecycle stages.
The context is the interface through which the component and its
container communicate.
Exception signalling a badly formed Context.
Construct a new ContextException
instance.
Construct a new ContextException
instance.
This inteface should be implemented by components that need
a Context to work.
Pass the Context to the component.
Supply specified object with a Context object if it implements the
Contextualizable
interface.
Create a new DefaultConfiguration
with the specified
local name and location.
Create a new DefaultConfiguration
with the specified
local name, namespace, and location.
Create a ContentHandler for an OutputStream
Create a Logkit
org.apache.log.Logger
instance that
redirects to an Avalon
Logger
instance.
Logs a debugging message.
Logs a debugging message and an exception.
The constant defining the default behaviour for printing
nested exceptions.
The constant defining the default stack depth when
none other is specified.
This class is a static implementation of a ComponentManager.
Construct ComponentManager with no parent.
Construct ComponentManager with specified parent.
This is the default implementation of the ComponentSelector.
This is the default Configuration
implementation.
Shallow copy constructor, suitable for craeting a writable clone of
a read-only configuration.
Create a new DefaultConfiguration
instance.
Create a new DefaultConfiguration
instance.
Create a new DefaultConfiguration
instance.
A DefaultConfigurationBuilder builds Configuration
s from XML,
via a SAX2 compliant parser.
Create a Configuration Builder with a default XMLReader that ignores
namespaces.
Create a Configuration Builder, specifying a flag that determines
namespace support.
Create a Configuration Builder with your own XMLReader.
A ConfigurationSerializer serializes configurations via SAX2 compliant parser.
Default implementation of Context.
Create a Context with no parent.
Create a Context with specified parent.
Create a Context with specified data.
Create a Context with specified data and parent.
An immutable implementation of the Configuration
interface.
This class is a static implementation of a ServiceManager
.
Construct ServiceManager
with no parent.
Construct ServiceManager
with specified parent.
This is the default implementation of the ServiceSelector
Create a DefaultServiceSelector with a default empty role.
Create a DefaultServiceSelector with a role for debug purposes.
The Disposable interface is used when components need to
deallocate and dispose resources prior to their destruction.
The dispose operation is called at the end of a components lifecycle.
Dispose specified object if it implements the
Disposable
interface.
Retrieve an object from Context.
Retrieve an item from the Context.
Return the value of specified attribute.
Returns the value of the attribute specified by its name as a
String
.
Returns the value of the attribute specified by its name as a
String
.
Returns the value of the attribute specified by its name as a
String
.
Returns the value of the attribute specified by its name as a
String
, or the default value if no attribute by
that name exists or is empty.
Returns the value of the attribute specified by its name as a
boolean
.
Return the boolean
value of the specified parameter contained
in this node.
Returns the value of the attribute specified by its name as a
boolean
.
Returns the value of the attribute specified by its name as a
boolean
, or the default value if no attribute by
that name exists or is empty.
Returns the value of the attribute specified by its name as a
float
.
Return the float
value of the specified parameter contained
in this node.
Returns the value of the attribute specified by its name as a
float
.
Returns the value of the attribute specified by its name as a
float
, or the default value if no attribute by
that name exists or is empty.
Returns the value of the attribute specified by its name as an
int
.
Return the int
value of the specified attribute contained
in this node.
Returns the value of the attribute specified by its name as an
int
.
Returns the value of the attribute specified by its name as a
int
, or the default value if no attribute by
that name exists or is empty.
Returns the value of the attribute specified by its name as a
long
.
Returns the value of the attribute specified by its name as a
long
.
Returns the value of the attribute specified by its name as a
long
.
Returns the value of the attribute specified by its name as a
long
, or the default value if no attribute by
that name exists or is empty.
Return an array of all attribute names.
Return an array of all attribute names.
Return an array of all attribute names.
Retrieve root cause of the exception.
Retrieve root cause of the exception.
Retrieve root cause of the exception.
Returns the root cause of this Throwable
.
Utility method to get cause of exception.
Return the first Configuration
object child of this
associated with the given name.
Return a new Configuration
instance encapsulating the
specified child node.
Return the first Configuration
object child of this
associated with the given name.
Return a Configuration
instance encapsulating the specified
child node.
Return the first Configuration
object child of this
associated with the given name.
Return the first Configuration
object child of this
associated with the given name.
Return count of children.
Return count of children.
Just returns this logger (ConsoleLogger
is not hierarchical).
Create a new child logger.
Create a new child logger.
Create a new child logger.
Create a new child logger.
Return an Array
of Configuration
elements containing all node children.
Return an array of Configuration
elements containing all node children.
Return an array of Configuration
elements containing all node children.
Return an Array
of Configuration
elements containing all node children with the specified name.
Return an array of Configuration
objects
children of this associated with the given name.
Return an array of Configuration
objects
children of this associated with the given name.
Helper method for subclasses to retrieve component map.
Helper method for subclasses to retrieve component map.
Get the configuration object that was built.
Get the configuration object that was built.
Utility method to retrieve context data.
Get a SAXConfigurationHandler for your configuration reading.
Get the key which let to the exception.
Return the key that caused the exception.
Return a string describing location of Configuration.
Returns a description of location of element.
Returns a description of location of element.
Returns a string showing the current system ID, line number and column number.
Returns a string showing the current system ID, line number and column number.
Helper method to allow sub-classes to aquire logger.
Helper method to allow sub-classes to aquire logger.
Retrieve major component of version.
Return a message describing the exception.
Override super's message to add role if applicable.
Retrieve micro component of version.
Retrieve minor component of version.
Equivalent to getMutableChild( name, true )
Gets a child node of this configuration.
Returns an array of mutable children.
Returns an array of mutable children with the given name.
Return the name of the node.
Returns the name of this configuration element.
Returns the name of this configuration element.
Retrieve the name of this Enum item, set in the constructor.
Retrieve an array of all parameter names.
Returns a string indicating which namespace this Configuration node
belongs to.
Returns the namespace of this configuration element
Returns the namespace of this configuration element
Helper method for subclasses to retrieve object map.
Helper method for subclasses to retrieve object map.
Retrieve the String
value of the specified parameter.
Retrieve the String
value of the specified parameter.
Retrieve the boolean
value of the specified parameter.
Retrieve the boolean
value of the specified parameter.
Retrieve the float
value of the specified parameter.
Retrieve the float
value of the specified parameter.
Retrieve the int
value of the specified parameter.
Retrieve the int
value of the specified parameter.
Retrieve the long
value of the specified parameter.
Retrieve the long
value of the specified parameter.
Return an Iterator
view of all parameter names.
Helper method for subclasses to retrieve parent.
Get parent context if any.
Helper method for subclasses to retrieve parent.
Returns the prefix of the namespace.
Returns the prefix of the namespace
Returns the prefix of the namespace
Get the key which let to the exception.
Return the role that caused the exception
Utility method to format stack trace.
Get the SAXTransformerFactory so we can get a serializer without being
tied to one vendor.
Retrieve the type-id for a particular string.
Return the String
value of the node.
Returns the value of the configuration element as a String
.
Returns the value of the configuration element as a String
.
Returns the value of the configuration element as a String
.
Returns the value of the configuration element as a String
.
Returns the value of the configuration element as a String
.
Returns the value of the configuration element as a String
.
Returns the value of the configuration element as a boolean
.
Return the boolean
value of the node.
Returns the value of the configuration element as a boolean
.
Returns the value of the configuration element as a boolean
.
Returns the value of the configuration element as a float
.
Return the float
value of the node.
Returns the value of the configuration element as a float
.
Returns the value of the configuration element as a float
.
Returns the value of the configuration element as an int
.
Return the int
value of the node.
Returns the value of the configuration element as an int
.
Returns the value of the configuration element as an int
.
Returns the value of the configuration element as a long
.
Return the long
value of the node.
Returns the value of the configuration element as a long
.
Returns the value of the configuration element as a long
.
Parse a version out of a string.
Logs an informational message.
Logs an informational message and an exception.
The Initializable interface is used by components that need to
allocate resources prior to them becoming active.
Initialize the component.
Initialize specified object if it implements the
Initializable
interface.
Returns true
if debug-level logging is enabled, false otherwise.
Determine if messages of priority "debug" will be logged.
Determine if messages of priority "debug" will be logged.
Determine if messages of priority "debug" will be logged.
Determine if messages of priority "debug" will be logged.
Test if enum item is equal in value to other enum.
Returns true
if error-level logging is enabled, false otherwise.
Determine if messages of priority "error" will be logged.
Determine if messages of priority "error" will be logged.
Determine if messages of priority "error" will be logged.
Determine if messages of priority "error" will be logged.
Returns true
if fatal-level logging is enabled, false otherwise.
Determine if messages of priority "fatalError" will be logged.
Determine if messages of priority "fatalError" will be logged.
Determine if messages of priority "fatalError" will be logged.
Determine if messages of priority "fatalError" will be logged.
Test if enum item is greater than in value to other enum.
Test if enum item is greater than or equal in value to other enum.
Returns true
if info-level logging is enabled, false otherwise.
Determine if messages of priority "info" will be logged.
Determine if messages of priority "info" will be logged.
Determine if messages of priority "info" will be logged.
Determine if messages of priority "info" will be logged.
Test if enum item is less than in value to other enum.
Test if enum item is less than or equal in value to other enum.
Test if the specified parameter can be retrieved.
Returns true iff this DefaultConfiguration has been made read-only.
Returns whether a Object exists or not
Check to see if a Object
exists relative to the supplied policy.
Check to see if a Object
exists relative to the supplied policy.
Returns true
if warn-level logging is enabled, false otherwise.
Determine if messages of priority "warn" will be logged.
Determine if messages of priority "warn" will be logged.
Determine if messages of priority "warn" will be logged.
Determine if messages of priority "warn" will be logged.
A SAXConfigurationHandler helps build Configurations out of sax events.
Select the Component
associated with the given hint.
Select the desired component.
Select the desired object.
Select the Object
associated with the given policy.
Select a Component based on a policy.
Select a service based on a policy.
Serialize the configuration object to a string
Serialize the configuration to a ContentHandler
Serialize the configuration object to an output stream.
Serialize the configuration object to an output stream derived from an
URI.
Serialize each Configuration element.
Serialize the configuration object to a file using a File object.
Serialize the configuration object to a file using a filename.
Supply specified object with ServiceManager if it implements the
Serviceable
interface.
Pass the ServiceManager
to the Serviceable
.
A Serviceable is a class that need to connect to software components using
a "role" abstraction, thus not depending on particular implementations
but on behavioral interfaces.
The exception thrown to indicate a problem with service.
Construct a new ServiceException
instance.
Construct a new ServiceException
instance.
Construct a new ServiceException
instance.
Construct a new ServiceException
instance.
A ServiceManager
selects Object
s based on a
role.
A ServiceSelector
selects Object
s based on a
supplied policy.
Set the value of the specified attribute to the specified boolean.
Set the value of the specified attribute to the specified boolean.
Set the value of the specified attribute to the specified float.
Set the value of the specified attribute to the specified float.
Set the value of the specified attribute to the specified int.
Set the value of the specified attribute to the specified int.
Set the value of the specified attribute to the specified long.
Set the value of the specified attribute to the specified long.
Set the value of the specified attribute to the specified string.
Set the value of the specified attribute to the specified string.
Set the document Locator
to use.
Set the document Locator
to use.
Sets the EntityResolver
to
be used by parser.
Sets the Serializer's use of indentation.
Set the components logger.
Provide component with a logger.
Set the String
value of a specified parameter.
Helper method to setup other components with same logger.
Helper method to setup other components with same logger.
Helper method to setup other components with logger.
Helper method to setup other components with logger.
Helper method to setup other components with logger.
Helper method to setup other components with logger.
Set the value of this Configuration
object to the specified boolean.
Set the value of this Configuration
object to the specified boolean.
Set the value of this Configuration
object to the specified float.
Set the value of this Configuration
object to the specified float.
Set the value of this Configuration
object to the specified int.
Set the value of this Configuration
object to the specified int.
Set the value of this Configuration
object to the specified long.
Set the value of this Configuration
object to the specified long.
Set the value of this Configuration
object to the specified string.
Set the value of this Configuration
object to the specified string.
Run specified object through shutdown lifecycle stages
(Stop and Dispose).
A interface to mark a component as SingleThreaded.
Splits the string on every token into an array of stack frames.
Start specified object if it implements the
Startable
interface.
The Startable interface is used when components need to
be "running" to be active.
Handling hook for starting the document parsing.
Handling hook for starting parsing of an element.
Handling hook for starting parsing of an element.
Handling hook for starting prefix mapping.
Stop specified object if it implements the
Startable
interface.
The Suspendable interface is used when a component
will need to temporarily halt execution of a component.