Acquires the target context.
Acquires the target context.
Adds an element to the target context.
Adds an element to the target context.
Adds an element in the target context.
Adds an element in the target context.
Adds an element in the target context.
Adds an element in the target context.
Adds an element to the target context.
Adds an element to the target context.
Adds an element to the target context.
Adds an element to the target context.
Adds an element to the target context.
Adds an element to the target context.
Adds an Element to the Context if no other exists with the same name.
Adds an Element to the Context if no other exists with the same name.
alias - field in class org.objectweb.jonathan.libs.kernel.decoders.
JAlias the referenced element
XML Alias tag to runtime component java code compiler.
Appends _name1 and _name2.
"applies" the _context Context's elements on the
implementation alternative whose signature is
_constructor(_arguments), i.e.
"applies" the _context Context's elements on the
specified method whose signature is
_method(_arguments), i.e.
args - field in class org.objectweb.jonathan.libs.kernel.decoders.
JSetter XML Assemblage tag to runtime Assemblage component java code compiler.
XML Atom tag to runtime Atom component java code compiler.
Indicates whether type checking should be performed.
Indicates whether type checking should be performed.
classe - field in class org.objectweb.jonathan.libs.kernel.decoders.
JAtom
Jonathan: an Open Distributed Processing Environment
Copyright (C) 2001 Kelua SA
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This class provides factory methods for the different kinds of Collections
Simple default constructor
Compilation method to be used when Kcf2java is embedded in some application.
The Component interface represents a component, with a value and a type.
Interface for configuration factories.
A context represents a set of typed objects, each identified by a name.
Class of the context elements used by JContextFactory.
Constructs a new context element.
Interface for context factories.
Returns the element identified by key, or null if none exists, or if it has
been registered using
this put method
.
Returns the element identified by key, or null if none exists, or if it has
been registered using
this put method
.
Return the class name corresponding to the _array
given.
Returns the component contained in the target element.
Returns the component contained in the element registered in the target
component under the name name
.
Returns the component contained in the element registered in the target
component under the name name
.
Returns the component contained in the element registered in the target context under
the name name
.
Returns the component contained in the element registered in the target context under
the name name
.
Returns the _classe
java class's Constructor whose arguments'types
are listed in _arguments
as JArguments.
Returns the context containing the target element, if any, null otherwise.
Returns the context factory.
Returns the element in the target component identified by name
,
null if no element exists under name name
.
Returns the element in the target component identified by name
,
null if no element exists under name name
.
Returns the element in the target component identified by name
,
null if no element exists under name name
.
may need to be synchronized
Returns the element identified by name, or null if none exists.
Returns the local element identified by name, or null if none exists.
Returns the element identified by name, or null if none exists.
Returns the element in the target context identified by name
,
null if no element is registered under name name
.
Returns the element in the target context identified by name
,
null if no element is registered under name name
.
Returns an enumeration of the elements found in the target context.
Returns an enumeration of the elements found in the target context.
Return a wrapper of this JComponent value for factory aspects.
Return a wrapper of this JComponent value for factory aspects.
Returns the XML files finder.
getId() - method in class org.objectweb.jonathan.apis.kernel.
Name Returns the id of the target name.
Return the service's instance.
From Instanciable interface.
Returns the element identified by key, or Integer.MAX_VALUE if none exists,
or if it has been registered using
this put method
.
Returns the element identified by key, or Integer.MAX_VALUE if none exists,
or if it has been registered using
this put method
.
Returns the value of the target component, if its class is an integer class.
Returns the value of the target element, if its class is an integer class.
Returns the value of the target component, if its class is an integer class.
Returns the value of the element registered in the target context under
the name name
.
Returns the value of the element registered in the target context under
the name name
.
Returns the value of the element registered in the target context under
the name name
.
Returns the value of the element registered in the target context under
the name name
.
Returns the detail message of this InternalException.
Returns the detail message of this JonathanException.
Returns the _classe
java class's Method whose name is _name
and arguments'types are listed in _arguments
as JArguments.
Returns the (local) name of the element, in the context it belongs to.
Returns the prefix of _name
.
Returns a distinguished element referencing the target component, if any,
null otherwise.
Returns a distinguished element referencing the target component, if any,
null otherwise.
Returns the scope of the target context;
Returns the scope of the target context;
Returns the subname of the target name.
Returns the suffix of _name
.
Returns the type of the target component, as a Class.
Returns the type of the target element, as a Class.
getType() - method in class org.objectweb.jonathan.libs.kernel.decoders.
JAlias Returns the type of the target component, as a Class.
Returns the components of the provided context that should be used to build
a new object instance.
Returns the value of the target component, if its type is an object reference
type.
Returns the value of the target element, if its type is an object reference
type.
Returns the value of the target component, if its type is an object reference
type.
Returns the value of the element registered in the target context under
the name name
.
Returns the value of the element registered in the target context under
the name name
.
Returns the value of the element registered in the target context under
the name name
.
Returns the value of the element registered in the target context under
the name name
.
id - field in class org.objectweb.jonathan.libs.kernel.decoders.
JAlternative Identifies the target context
Implements the Implicit Factory XML to java compilation.
Imports the provided configuration file into the
configuration
.
imports an XML file in the given configuration.
Imports the provided properties into the _context
.
Imports properties in the given context, save those whose keys
begin with an excepted prefix.
Imports the provided property into the _context
.
Imports a property in the given context.
XML Include tag to java code compiler.
JAlias specific initialization code.
JAssemblage specific initialization code.
JAtom specific initialization code.
JSequence specific initialization code.
Initialize an object using information contained in the provided
context
.
Implementation of the Initializer interface's initialize method.
Implementation of the Initializer interface's initialize method.
Implementation of the Initializer interface's initialize method.
Initializer
represents the type for initializers of services.
Instanciable
represents an object (a service) created by its factory.
InternalExceptions are unexpected exceptions that may occur e.g., when some
entities (kernel, binders, stub factories, ...), are incompatible or badly used.
Constructs a new InternalException with no detail message.
Constructs a new InternalException with a detail message.
Builds an InternalException that wraps another exception.
Test if the _type
given is an array class name.
Test if the service still exists.
From Instanciable interface.
JAlias - class org.objectweb.jonathan.libs.kernel.decoders.
JAlias The alias runtime component implementation.
An implementation alternative's runtime representation.
In order to be compliant with old versions.
In order to be compliant with old versions.
creates the runtime implementation alternative whose implementation
class is
_implementation_class
and whose arguments' types
are listed as
JArgument
in
_arguments
.
Holds the signature (name and type) of a single method argument.
creates a new JArgument of the given argument signature.
Runtime assemblage component.
Creates a new assemblage whose alternatives
are listed in _alternatives as JAlternatives.
Creates a new assemblage whose alternatives
are listed in _alternatives as JAlternatives.
JAtom - class org.objectweb.jonathan.libs.kernel.decoders.
JAtom Runtime atom component.
Creates a new class atom whose alternatives
are listed in _alternatives as JAlternatives.
Creates a new class atom whose alternatives
are listed in _alternatives as JAlternatives.
Basic implementation of a runtime component.
Constructs a new TreeContext instance.
Configuration Factory used by
KKernel
.
Constructs a new JContext instance.
Creates a new JContext with the specified enclosing context.
Factory for JContextFactory objects.
Basic implementation of a runtime element.
Runtime implicit factory component.
Creates a new implicit factory whose implementation alternatives
are listed in _alternatives as JAlternatives.
JonathanException is the supertype of all Jonathan exceptions.
Constructs a new JonathanException with no detail message.
Builds a JonathanException that wraps another exception.
Builds a JonathanException with a detail message.
The atom runtime component.
Represents a setter on a factory.
creates a new JSetter of the given argument signature.
Basic implementation of a runtime element.
name - field in class org.objectweb.jonathan.libs.kernel.decoders.
JArgument name - field in class org.objectweb.jonathan.libs.kernel.decoders.
JSetter Name - interface org.objectweb.jonathan.apis.kernel.
Name Names are non-mutable structures representing names used by contexts.
Somme helper functions on
names
.
Returns a new ArrayList using the given array of objects
Returns the effective bootstrap configuration.
The jonathan Kernel's runtime bootstrap mechanism.
Returns a new
Context
instance with scope
scope
.
Returns a new
JContext
instance with scope
scope
.
Creates a new empty context element.
Creates a new context element, using the provided parameters
to initialize it.
Returns a new HashMap based on the contents of a Context
Returns a new HashSet using the given array of objects
Returns a new HashSet based on the contents of a Context.
Returns a new Hashtable based on the contents of a Context
Returns a new object created using the provided components, and possibly
some information contained in the provided context.
Returns a new LinkedList using the given array of objects
Returns a new List using the given array of objects.
Creates a new name by parsing the provided string.
Returns a new
Name
, using
_id
as identifier,
and
_subname
as subname.
Returns an object created using information contained in the provided
context
.
Returns an object created using information contained in the provided
context
.
Returns a new JContextFactory instance.
Retrieves locally in the given context a
Context
named
decoders where the additional specified XML
to runtime component decoders are stored.
Implementation of the MultiFactory interface's newObject method.
Implementation of the MultiFactory interface's newObject method.
Returns a new instance of the implicit factory's implementation
alternative whose ID is _alternative
.
Returns an object created using information contained in the provided
context
.
Returns a new Set using the given array of objects.
Returns a new Set based on the contents of a Context.
Returns a new HTable, taken from a pool of tables.
Returns a new TreeSet using the given array of objects
Returns a new TreeSet using the given array of objects
Returns a new Vector using the given array of objects
Normalizes the provided string, by trimming and handling backslashes
Prints this InternalException and its backtrace to the
standard error stream.
Prints this JonathanException and its backtrace to the
standard error stream.
Prints this InternalException and its backtrace to the
specified print stream.
Prints this JonathanException and its backtrace to the
specified print stream.
Prints this 'Throwable' and its backtrace to the specified
print writer.
Prints this 'Throwable' and its backtrace to the specified
print writer.
Jonathan: an Open Distributed Processing Environment
Copyright (C) 2001 Kelua SA
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Common properties to configuration implementation.
XML Property tag to runtime component java code compiler.
Adds a new element to the target table.
Adds a new element to the target table.
Adds a new element to the target table.
Adds a new element to the target table.
reference - field in class org.objectweb.jonathan.libs.kernel.decoders.
JAlias The element referencing this component
Registers an instance, using the provided components, in the factory.
Releases the target context, releasing all the resources it uses, if no one still
uses it.
Releases the target table.
Releases the target context, releasing all the resources it uses, if no one still
uses it.
Removes the element identified by the provided key from the table.
Removes the element identified by the provided key from the table.
Returns the exception wrapped by this InternalException.
Returns the exception wrapped by this JonathanException.
Resets the target context, removing all its current elements.
reset() - method in class org.objectweb.jonathan.libs.helpers.
HTable Removes all the elements from the target table.
Resets the element, setting all object reference members to null,
and possibly recycling the element in a pool.
needs to be synchronized.