A C D E F G H I J K L M N P R S T U

A

add(Object) - Method in interface net.sf.tlc.ioc.IocContainer
Adds a previously instantiated object to the container registry.
add(Object) - Method in class net.sf.tlc.ioc.impl.EmbeddableContainer
(non-Javadoc)
addDependency(Constructor, DependencyNode[]) - Method in class net.sf.tlc.ioc.impl.DependencyNode
Add a dependency from the parent class upon the given class.

C

ClassPathUtils - class net.sf.tlc.util.ClassPathUtils.
ClassPathUtils provides a set of static utility methods used in the manipulation of paths to classes.
ClassUtils - class net.sf.tlc.util.ClassUtils.
Provides a set of static utility methods for working with Classes
ConsoleInterceptor - interface net.sf.tlc.logging.ConsoleInterceptor.
TheLittleContainer ConsoleInterceptor - a class that takes 'ownership' of the standard output stream and redirects it somewhere.
canConstructClass(Class, Constructor) - Method in class net.sf.tlc.ioc.impl.DefaultDependencyManager
(non-Javadoc)
canConstructClass(Class) - Method in class net.sf.tlc.ioc.impl.DefaultDependencyManager
(non-Javadoc)
canConstructClass(Class, Constructor) - Method in interface net.sf.tlc.ioc.impl.DependencyManager
Returns true if the class can be constructed fulfilling the given constructor.
canConstructClass(Class) - Method in interface net.sf.tlc.ioc.impl.DependencyManager
Returns true if the class can be constructed fulfilling any one of its constructors (notably, the default or empty constructor).

D

DefaultConsoleInterceptor - class net.sf.tlc.logging.impl.DefaultConsoleInterceptor.
The DefaultConsoleInterceptor merely implements the ConsoleInterceptor interface but really does nothing - i.e., everything gets sent to System.out anyway.
DefaultConsoleInterceptor() - Constructor for class net.sf.tlc.logging.impl.DefaultConsoleInterceptor
 
DefaultDependencyManager - class net.sf.tlc.ioc.impl.DefaultDependencyManager.
Default implementation of net.sf.tlc.ioc.DependencyManager.
DefaultDependencyManager() - Constructor for class net.sf.tlc.ioc.impl.DefaultDependencyManager
 
DefaultFinder - class net.sf.tlc.core.impl.DefaultFinder.
The default implementation of TargetFinder
DefaultFinder(ClassLoader, PropertyManager) - Constructor for class net.sf.tlc.core.impl.DefaultFinder
 
DefaultI18nHelper - class net.sf.tlc.core.impl.DefaultI18nHelper.
Default I18nHelper implementation.
DefaultI18nHelper(String) - Constructor for class net.sf.tlc.core.impl.DefaultI18nHelper
Default constructor
DefaultLauncher - class net.sf.tlc.core.impl.DefaultLauncher.
Default implementation of TargetLauncher
DefaultLauncher(ClassLoader, TargetFinder) - Constructor for class net.sf.tlc.core.impl.DefaultLauncher
 
DefaultPropertyManager - class net.sf.tlc.core.impl.DefaultPropertyManager.
The default implementation of PropertyManager
DefaultPropertyManager(File) - Constructor for class net.sf.tlc.core.impl.DefaultPropertyManager
 
DefaultPropertyManager(String) - Constructor for class net.sf.tlc.core.impl.DefaultPropertyManager
 
DefaultServiceLocator - class net.sf.tlc.core.impl.DefaultServiceLocator.
Provides a default implementation of the core ServiceLocator interface.
DefaultServiceLocator() - Constructor for class net.sf.tlc.core.impl.DefaultServiceLocator
 
DependencyManager - interface net.sf.tlc.ioc.impl.DependencyManager.
TheLittleContainer dependency manager interface.
DependencyNode - class net.sf.tlc.ioc.impl.DependencyNode.
A node in a class dependency tree.
DependencyNode(Class) - Constructor for class net.sf.tlc.ioc.impl.DependencyNode
Construct a dependency tree node for the given class
doesExtend(Class, Class) - Static method in class net.sf.tlc.util.ClassUtils
Return true if Class c is as subclass of parent
doesImplement(Class, Class) - Static method in class net.sf.tlc.util.ClassUtils
 

E

EmbeddableContainer - class net.sf.tlc.ioc.impl.EmbeddableContainer.
An embeddable IoC/dependcy-inject container (similar to PicoContainer ).
EmbeddableContainer(DependencyManager) - Constructor for class net.sf.tlc.ioc.impl.EmbeddableContainer
Constructor
EmbeddableContainer() - Constructor for class net.sf.tlc.ioc.impl.EmbeddableContainer
Default constructor

F

FinderHelper - class net.sf.tlc.core.impl.FinderHelper.
TODO change the description of FinderHelper
findService(String) - Method in interface net.sf.tlc.core.ServiceLocator
Attempt to find and retrieve a service by name.
findService(Class) - Method in interface net.sf.tlc.core.ServiceLocator
Attempt to find and retrive a service by class or interface.
findService(String) - Method in class net.sf.tlc.core.impl.DefaultServiceLocator
(non-Javadoc)
findService(Class) - Method in class net.sf.tlc.core.impl.DefaultServiceLocator
(non-Javadoc)

G

getClazz() - Method in class net.sf.tlc.ioc.impl.DependencyNode
 
getCurrentLocale() - Method in interface net.sf.tlc.core.I18nHelper
Get the current Locale
getCurrentLocale() - Method in class net.sf.tlc.core.impl.DefaultI18nHelper
(non-Javadoc)
getDependency(Constructor) - Method in class net.sf.tlc.ioc.impl.DependencyNode
Return the dependencies for the given constructor of this class.
getFriendlyClassName(Class) - Static method in class net.sf.tlc.util.ClassUtils
 
getInstance(Class) - Method in interface net.sf.tlc.ioc.IocContainer
Attempt to obtain an instance of the requested class with auto-wiring of dependencies.
getInstance(Class) - Method in class net.sf.tlc.ioc.impl.EmbeddableContainer
(non-Javadoc)
getMessage(String) - Method in interface net.sf.tlc.core.I18nHelper
Retrieve the corresponding internationalized message according to the current Locale.
getMessage(String) - Method in class net.sf.tlc.core.impl.DefaultI18nHelper
(non-Javadoc)
getName() - Method in class net.sf.tlc.model.Target
 
getPath() - Method in class net.sf.tlc.model.Target
 
getProperties() - Method in interface net.sf.tlc.core.PropertyManager
Return all the properties managed by this property manager.
getProperties() - Method in class net.sf.tlc.core.impl.DefaultPropertyManager
(non-Javadoc)
getProperty(String) - Method in interface net.sf.tlc.core.PropertyManager
Attempt to retrieve a container-level property
getProperty(String, String) - Method in interface net.sf.tlc.core.PropertyManager
Attempt to retrieve a container-level property, returing the given defaultValue if the key is not found.
getProperty(String) - Method in class net.sf.tlc.core.impl.DefaultPropertyManager
(non-Javadoc)
getProperty(String, String) - Method in class net.sf.tlc.core.impl.DefaultPropertyManager
(non-Javadoc)
getTargetType() - Method in class net.sf.tlc.model.Target
 
giveupInterception() - Method in interface net.sf.tlc.logging.ConsoleInterceptor
 
giveupInterception() - Method in class net.sf.tlc.logging.impl.DefaultConsoleInterceptor
(non-Javadoc)

H

hasClass(Class) - Method in class net.sf.tlc.ioc.impl.DefaultDependencyManager
(non-Javadoc)
hasClass(Class) - Method in interface net.sf.tlc.ioc.impl.DependencyManager
Returns true if the registry contains the given class.

I

I18nHelper - interface net.sf.tlc.core.I18nHelper.
I18n (Internationalization) Helper Interface
IocContainer - interface net.sf.tlc.ioc.IocContainer.
An interface that describes an Inversion-of-Control (Ioc) or dependency-injection container
isAbstractClass(Class) - Static method in class net.sf.tlc.util.ClassUtils
Return true if the given class is abstract
isRunnable(Class) - Static method in class net.sf.tlc.util.ClassUtils
Return true if the given class implements the Runnable interface
isRunning() - Method in interface net.sf.tlc.core.LifecycleAware
 
isRunning() - Method in class net.sf.tlc.kernel.TlcMicroKernel
(non-Javadoc)
isTargetClass(Class) - Static method in class net.sf.tlc.core.impl.FinderHelper
A valid target is a concrete class (not an abstract class and not an interface) which implements Runnable.
iterator() - Method in class net.sf.tlc.ioc.impl.DependencyNode
 

J

JarInspector - class net.sf.tlc.core.impl.JarInspector.
Used by DefaultFinder to inspect inside JARs to find potential targets.

K

keySet() - Method in interface net.sf.tlc.core.ServiceLocator
 
keySet() - Method in class net.sf.tlc.core.impl.DefaultServiceLocator
(non-Javadoc)

L

LifecycleAware - interface net.sf.tlc.core.LifecycleAware.
A LifecycleAware component in TheLittleContainer framework.
listAllImplementingClasses(Class) - Method in class net.sf.tlc.ioc.impl.DefaultDependencyManager
(non-Javadoc)
listAllImplementingClasses(Class) - Method in interface net.sf.tlc.ioc.impl.DependencyManager
Returns a list (Class[]) of all classes registered that fufill the given class (either extends the superclass or implements the interface)
listAllInterfaces(Class) - Static method in class net.sf.tlc.util.ClassUtils
List all interfaces implemented by the given class
listAllSuperClasses(Class) - Static method in class net.sf.tlc.util.ClassUtils
Returns a List of all super classes of the given class
listBeanProperties(Class) - Static method in class net.sf.tlc.util.ClassUtils
Return a 'friendly-name' list of public JavaBean 'properties' - that is, all accessor methods of the form getAbc() with the 'get' removed and the first letter of the 'property' converted to lower case.
listTargets() - Method in interface net.sf.tlc.core.TargetFinder
Return an array of Target objects on identified targets in the targetPath
listTargets() - Method in class net.sf.tlc.core.impl.DefaultFinder
(non-Javadoc)
listTargets(File) - Static method in class net.sf.tlc.core.impl.JarInspector
 
loadClass(String) - Method in class net.sf.tlc.loader.TlcClassLoader
(non-Javadoc)
loadTargets() - Method in interface net.sf.tlc.core.TargetLauncher
Attempt to find and load all available targets.
loadTargets() - Method in class net.sf.tlc.core.impl.DefaultLauncher
(non-Javadoc)

M

Main - class net.sf.tlc.Main.
TheLittleContainer application entry point.
main(String[]) - Static method in class net.sf.tlc.Main
The application entry point.

N

net.sf.tlc - package net.sf.tlc
 
net.sf.tlc.core - package net.sf.tlc.core
 
net.sf.tlc.core.impl - package net.sf.tlc.core.impl
 
net.sf.tlc.ioc - package net.sf.tlc.ioc
 
net.sf.tlc.ioc.impl - package net.sf.tlc.ioc.impl
 
net.sf.tlc.kernel - package net.sf.tlc.kernel
 
net.sf.tlc.loader - package net.sf.tlc.loader
 
net.sf.tlc.logging - package net.sf.tlc.logging
 
net.sf.tlc.logging.impl - package net.sf.tlc.logging.impl
 
net.sf.tlc.model - package net.sf.tlc.model
 
net.sf.tlc.util - package net.sf.tlc.util
 

P

PropertyManager - interface net.sf.tlc.core.PropertyManager.
TheLittleContainer PropertyManager Interface

R

register(String, Object) - Method in interface net.sf.tlc.core.ServiceLocator
Register a service (object) by unique name.
register(Class, Object) - Method in interface net.sf.tlc.core.ServiceLocator
Register a service as a provider of the given class / interface.
register(Object) - Method in interface net.sf.tlc.core.ServiceLocator
Register an object as a service, using the object's class name as the service name.
register(String, Object) - Method in class net.sf.tlc.core.impl.DefaultServiceLocator
(non-Javadoc)
register(Class, Object) - Method in class net.sf.tlc.core.impl.DefaultServiceLocator
(non-Javadoc)
register(Object) - Method in class net.sf.tlc.core.impl.DefaultServiceLocator
(non-Javadoc)
register(Class) - Method in interface net.sf.tlc.ioc.IocContainer
Registers a class with the IocContainer.
register(Class) - Method in class net.sf.tlc.ioc.impl.EmbeddableContainer
(non-Javadoc)
registerClass(Class) - Method in class net.sf.tlc.ioc.impl.DefaultDependencyManager
(non-Javadoc)
registerClass(Class) - Method in interface net.sf.tlc.ioc.impl.DependencyManager
Registers a class with the DependencyManager

S

ServiceLocator - interface net.sf.tlc.core.ServiceLocator.
A generic ServiceLocator interface.
servicesSet() - Method in class net.sf.tlc.core.impl.DefaultServiceLocator
 
setCurrentLocale(Locale) - Method in interface net.sf.tlc.core.I18nHelper
Set the current Locale.
setCurrentLocale(Locale) - Method in class net.sf.tlc.core.impl.DefaultI18nHelper
(non-Javadoc)
setupInterception() - Method in interface net.sf.tlc.logging.ConsoleInterceptor
 
setupInterception() - Method in class net.sf.tlc.logging.impl.DefaultConsoleInterceptor
(non-Javadoc)
start() - Method in interface net.sf.tlc.core.LifecycleAware
Starts the component.
start() - Method in class net.sf.tlc.kernel.TlcMicroKernel
(non-Javadoc)
stop() - Method in interface net.sf.tlc.core.LifecycleAware
Stops the component.
stop() - Method in class net.sf.tlc.kernel.TlcMicroKernel
(non-Javadoc)

T

TARGET_IS_CLASS - Static variable in class net.sf.tlc.model.Target
TARGET_IS_CLASS denotes this target is a .class under a given directory.
TARGET_IS_JAR - Static variable in class net.sf.tlc.model.Target
TARGET_IS_JAR denotes this target is a Class inside a Jar file.
Target - class net.sf.tlc.model.Target.
Immutable POJO to contain 'target' information
Target(int, String, String) - Constructor for class net.sf.tlc.model.Target
 
TargetFinder - interface net.sf.tlc.core.TargetFinder.
TheLittleContainer core interface for a target finder.
TargetLauncher - interface net.sf.tlc.core.TargetLauncher.
TheLittleContainer core interface for a target loader.
TlcClassLoader - class net.sf.tlc.loader.TlcClassLoader.
The top level ClassLoader for TheLittleContainer.
TlcClassLoader(File) - Constructor for class net.sf.tlc.loader.TlcClassLoader
 
TlcClassLoader(String) - Constructor for class net.sf.tlc.loader.TlcClassLoader
 
TlcMicroKernel - class net.sf.tlc.kernel.TlcMicroKernel.
TheLittleContainer micro kernel.
TlcMicroKernel() - Constructor for class net.sf.tlc.kernel.TlcMicroKernel
 
toClassName(String) - Static method in class net.sf.tlc.util.ClassPathUtils
Returns the expected class name from a class file's absolute path or null if the path does not end with ".class".
toClassName(String, String) - Static method in class net.sf.tlc.util.ClassPathUtils
Returns the expected class name from a class file's absolute path and the 'base dir' to calculate it from, or null if the absolutePath does not start with the baseDir and does not end with ".class".
toString() - Method in class net.sf.tlc.ioc.impl.DependencyNode
(non-Javadoc)
toString() - Method in class net.sf.tlc.model.Target
(non-Javadoc)

U

unregister(String) - Method in interface net.sf.tlc.core.ServiceLocator
Remove a named service.
unregister(Object) - Method in interface net.sf.tlc.core.ServiceLocator
Remove a service object.
unregister(String) - Method in class net.sf.tlc.core.impl.DefaultServiceLocator
(non-Javadoc)
unregister(Object) - Method in class net.sf.tlc.core.impl.DefaultServiceLocator
(non-Javadoc)

A C D E F G H I J K L M N P R S T U

Copyright © 2005 TheLittleContainer. All Rights Reserved.