A B C D E F G H I J K L M N O P R S T U V W X Y

C

CachingPool<T> - Class in jfun.yan.factory
A thread-unsafe implementation of Pool that does simple caching.
CachingPool() - Constructor for class jfun.yan.factory.CachingPool
 
calcFQN(Object) - Method in class jfun.yan.xml.nuts.optional.AbstractLoopRegisterNut
Calculate the fully qualified name using the prefix and suffix.
call(Object[]) - Method in interface jfun.yan.function.Function
Invoke this function.
call(Object[]) - Method in class jfun.yan.xml.DelegatingNutsFunction
 
call(Object[]) - Method in interface jfun.yan.xml.NutsFunction
Call the function with arguments.
call(Object[]) - Method in class jfun.yan.xml.SynchronizedNutsFunction
synchronize against "this", then forward the call to the delegate target.
CALLCC - Static variable in class jfun.yan.xml.Constants
 
called(Function, Object[], Object, long) - Method in interface jfun.yan.monitoring.FunctionMonitor
This method is called right after the function is called successfully.
callFailed(Function, Object[], Throwable, long) - Method in interface jfun.yan.monitoring.FunctionMonitor
This method is called after the function failed.
callFunction(NutsFunction, Object[]) - Static method in class jfun.yan.xml.NutsUtils
Call a NutsFunction object with an array of arguments.
callFunction(NutsFunction, Map) - Static method in class jfun.yan.xml.NutsUtils
Call a NutsFunction object with a map of parameter name to argument value.
calling(Function, Object[]) - Method in interface jfun.yan.monitoring.FunctionMonitor
This method is called right before the function is called.
canonicalizeAttributeName(String) - Static method in class jfun.yan.xml.NutsUtils
Canonicalize an attribute name by replacing "-" with "_".
Case - Class in jfun.yan.xml.nuts.optional
The <case> sub-element in the <switch> tag.
Case() - Constructor for class jfun.yan.xml.nuts.optional.Case
 
cast(Class<X>) - Method in class jfun.yan.Component
Create a new Component object that returns the given type as its component instance type when getType() or verify(Dependency) is called.
cast(Component<?>, Class<T>) - Static method in class jfun.yan.Components
Customizes a Component object with a new component type.
cast(Class, Component) - Method in interface jfun.yan.spring.SpringContext
Convert a Component so that it instantiates objects of a certain type.
cast(Class, Component) - Method in class jfun.yan.xml.nut.Nut
Transforms a Component so that the instantiated instance is converted to the target type.
cast(Class, Component, Location) - Method in interface jfun.yan.xml.NutEnvironment
Transform a Component so that the instantiated instance is converted to the target type.
checkDuplicate(String, Object) - Method in class jfun.yan.xml.nut.Nut
Makes sure that a certain attribute is not set yet to avoid duplicate setting.
checkElement(int, Class) - Method in interface jfun.yan.element.ElementChecker
Checks the ordinal position and type.
checkElement(int, Class) - Method in class jfun.yan.element.MapStore
 
checkElement(int, Class) - Method in class jfun.yan.StoreBinder
Subclasses may choose to override this method to provide additional checking for the element types and indexes.
checkMandatory(String, Object) - Method in class jfun.yan.xml.nut.Nut
Make sure an object is not null.
checkMandatory(String, Object, String, Object) - Method in class jfun.yan.xml.nut.Nut
Make sure at least one of two attributes is present.
CLASS - Static variable in class jfun.yan.xml.Constants
 
ClassDescriptor<T> - Class in jfun.yan.util
A descriptor class for all methods/fields/contructors of a class.
ClassEditor - Class in jfun.util.beans
The PropertyEditor that converts between String and Class.
ClassEditor() - Constructor for class jfun.util.beans.ClassEditor
 
ClassEditor(Object) - Constructor for class jfun.util.beans.ClassEditor
 
ClassLoader2ResourceLoader - Class in jfun.yan.util.resource
An adapter that adapts ClassLoader to ResourceLoader by delegating ResourceLoader methods to the corresponding ClassLoader methods.
ClassLoader2ResourceLoader(ClassLoader) - Constructor for class jfun.yan.util.resource.ClassLoader2ResourceLoader
 
ClassLoaderUtils - Class in jfun.util
Utility functions for ClassLoader related function.
ClassLoaderUtils() - Constructor for class jfun.util.ClassLoaderUtils
 
CLASSPATH - Static variable in class jfun.yan.xml.Constants
 
ClassPathLocator - Class in jfun.util
The Locator is a utility class which is used to find certain items in the environment
ClassPathLocator() - Constructor for class jfun.util.ClassPathLocator
 
clearResolutionTrace() - Method in exception jfun.yan.YanException
Clear the resolution trace.
close(LifecycleManager) - Method in class jfun.yan.lifecycle.DefaultLifecycleDescriptor
To invoke the "close" phase for the objects stored in the LifecycleManager object.
close() - Method in class jfun.yan.lifecycle.DefaultLifecycleManager
To call the "close" phase for all managed instances.
closer(Lifecycle, Procedure, boolean) - Method in class jfun.yan.lifecycle.DefaultLifecycleDescriptor
To register the "close" phase into a Lifecycle object.
closer(Lifecycle, Procedure) - Method in class jfun.yan.lifecycle.DefaultLifecycleDescriptor
To register the "close" phase into a Lifecycle object.
The phase allows re-entry.
closer(Procedure, boolean) - Method in class jfun.yan.lifecycle.DefaultLifecycleManager.DefaultLifecycle
To register the "close" phase.
closer(Procedure) - Method in class jfun.yan.lifecycle.DefaultLifecycleManager.DefaultLifecycle
To register the "close" phase as re-entrant.
closer(String) - Method in class jfun.yan.lifecycle.DefaultLifecycleManager.DefaultLifecycle
To register the "close" phase as re-entrant.
CollectionNut - Class in jfun.yan.xml.nuts
Any Nut that instantiates linear collection such as java.util.Collection, array or any other non-standard linear collection.
CollectionNut() - Constructor for class jfun.yan.xml.nuts.CollectionNut
 
CollectionUtils - Class in jfun.util
Stolen from Ant.
CollectionUtils() - Constructor for class jfun.util.CollectionUtils
 
Component<T> - Class in jfun.yan
Responsible for component instance creation and verification.
Component() - Constructor for class jfun.yan.Component
 
Component2FactoryBean - Class in jfun.yan.spring
This class adapts a yan Component to Spring's FactoryBean.
ComponentBinder<From,To> - Interface in jfun.yan
In addition to mapping the previous result to a new Creator, ComponentBinder also verifies the type of the previous result.
ComponentDecorator - Interface in jfun.yan.xml
A decorator strategy for Component.
ComponentInfo - Class in jfun.yan
This class contains meta information about any component.
ComponentInfo(int, Map, Map, Class) - Constructor for class jfun.yan.ComponentInfo
Creates a ComponentInfo object.
ComponentInstantiationException - Exception in jfun.yan
The wrapper exception class for any checked exception happened during component instance creation.
ComponentInstantiationException(String) - Constructor for exception jfun.yan.ComponentInstantiationException
 
ComponentInstantiationException(String, Throwable) - Constructor for exception jfun.yan.ComponentInstantiationException
 
ComponentInstantiationException(Throwable) - Constructor for exception jfun.yan.ComponentInstantiationException
 
ComponentMap - Interface in jfun.yan
A map that is used to retrieve Component by key or type.
ComponentMonitor - Interface in jfun.yan.monitoring
This interface monitors events triggered by constructor, method and java bean getter/setters.
ComponentMonitorQueue - Class in jfun.yan.monitoring
This class encapsulates a queue of various monitors.
ComponentMonitorQueue() - Constructor for class jfun.yan.monitoring.ComponentMonitorQueue
 
ComponentNut - Class in jfun.yan.xml.nut
Super class for any Nut that evaluates to Component.
ComponentNut() - Constructor for class jfun.yan.xml.nut.ComponentNut
 
ComponentResolutionException - Exception in jfun.yan
Represents an error when a component or a part of a component cannot be resolved.
ComponentResolutionException() - Constructor for exception jfun.yan.ComponentResolutionException
 
ComponentResolutionException(String) - Constructor for exception jfun.yan.ComponentResolutionException
 
ComponentResolutionException(String, Throwable) - Constructor for exception jfun.yan.ComponentResolutionException
 
ComponentResolutionException(Throwable) - Constructor for exception jfun.yan.ComponentResolutionException
 
Components - Class in jfun.yan
This class provides implementations of some basic components as well as most of the commonly used combiniators for Component.
Components() - Constructor for class jfun.yan.Components
 
ComponentTransformer - Class in jfun.yan.containers
This class represents a combinator to transform Component objects.
ComponentTransformer() - Constructor for class jfun.yan.containers.ComponentTransformer
 
ComponentTransformers - Class in jfun.yan.containers
This class provides basic ComponentTransformer objects as well as the pre-defined ComponentTransformer combinators.
ComponentTransformers() - Constructor for class jfun.yan.containers.ComponentTransformers
 
ConditionalNut - Class in jfun.yan.xml.nuts.optional
Super class for binary conditional statement such as if/unless.
ConditionalNut() - Constructor for class jfun.yan.xml.nuts.optional.ConditionalNut
 
CONFIG_FILE_PARAM - Static variable in class jfun.yan.web.YanLoader
Name of servlet context parameter that can specify the configuration file for the root container, falling back to YanLoader.DEFAULT_CONFIG_FILE otherwise.
ConfigurationException - Exception in jfun.yan.xml
Represents any error happened during the interpretation of the xml config file.
ConfigurationException(String, Throwable, Location) - Constructor for exception jfun.yan.xml.ConfigurationException
Creates a ConfigurationException object.
ConfigurationException(String, Location) - Constructor for exception jfun.yan.xml.ConfigurationException
Creates a ConfigurationException object.
ConfigurationException(Throwable, Location) - Constructor for exception jfun.yan.xml.ConfigurationException
Creates a ConfigurationException object.
cons(Object) - Method in class jfun.util.List
add an object to the head of the list.
Constants - Class in jfun.yan.xml
This class defines constant values for the project.
Constants() - Constructor for class jfun.yan.xml.Constants
 
constructed(Constructor, Object[], Object, long) - Method in interface jfun.yan.monitoring.CtorMonitor
This method is called right after the constructor is invoked successfully.
constructed(Constructor, Object[], Object, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
constructing(Constructor, Object[]) - Method in interface jfun.yan.monitoring.CtorMonitor
This method is called right before the constructor is invoked.
constructing(Constructor, Object[]) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
constructionFailed(Constructor, Object[], Throwable, long) - Method in interface jfun.yan.monitoring.CtorMonitor
This method is called after the constructor failed.
constructionFailed(Constructor, Object[], Throwable, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
ConstructorNut - Class in jfun.yan.xml.nuts
Nut class for <ctor> tag.
ConstructorNut() - Constructor for class jfun.yan.xml.nuts.ConstructorNut
 
Container - Interface in jfun.yan
The facade interface which provides the full functionality of yan container.
Container2ApplicationContext - Class in jfun.yan.spring
This class adapts a yan Container object to Spring's ApplicationContext (primarily ListableBeanFactory) interface.
Container2ApplicationContext(MessageSource, ResourcePatternResolver, ApplicationEventPublisher, String, long, Container) - Constructor for class jfun.yan.spring.Container2ApplicationContext
Create a Container2BeanFactory object.
CONTAINER_ROOT - Static variable in class jfun.yan.web.YanLoader
The name of the servlet context attribut that holds the Container instance.
containsBean(String) - Method in class jfun.yan.spring.Container2ApplicationContext
Same as Container2ApplicationContext.containsBeanDefinition(String) since this class does not care about hierarchy.
containsBeanDefinition(String) - Method in class jfun.yan.spring.Container2ApplicationContext
 
containsExplicitProperty(String) - Method in class jfun.yan.xml.nuts.ArgumentsAndPropertiesNut
Is the a property explicitly specified?
containsKey(Object) - Method in interface jfun.yan.ComponentMap
Whether a Component with a certain key is contained in the map.
containsKey(Object) - Method in class jfun.yan.containers.DelegatingContainer
 
containsKey(Object) - Method in class jfun.yan.containers.InheritedRegistrar
 
containsKey(Object) - Method in class jfun.yan.containers.SimpleContainer
 
containsKey(Object) - Method in class jfun.yan.containers.SimpleRegistrar
 
containsKey(Object) - Method in class jfun.yan.DelegatingComponentMap
 
containsPhase(Object) - Method in class jfun.yan.lifecycle.LiveObject
To determine if a certain phase exists in the life-cycle.
containsType(Class) - Method in interface jfun.yan.ComponentMap
Whether a Component of a certain type or its sub-type is contained in the map.
containsType(Class) - Method in class jfun.yan.containers.DelegatingContainer
 
containsType(Class) - Method in class jfun.yan.containers.ImmutablePreferredContainer
 
containsType(Class) - Method in class jfun.yan.containers.InheritedRegistrar
 
containsType(Class) - Method in class jfun.yan.containers.SimpleContainer
 
containsType(Class) - Method in class jfun.yan.containers.SimpleRegistrar
 
containsType(Class) - Method in class jfun.yan.DelegatingComponentMap
 
contextDestroyed(ServletContextEvent) - Method in class jfun.yan.web.YanLoaderListener
Close the root web application context.
contextInitialized(ServletContextEvent) - Method in class jfun.yan.web.YanLoaderListener
Initialize the root web application context.
convert(Class, Object) - Method in interface jfun.yan.spring.SpringContext
Convert a an object to a target type.
convert(Class, Object) - Method in class jfun.yan.xml.nut.Nut
Convert an object to a target type.
convert(Class, Object, Location) - Method in interface jfun.yan.xml.NutEnvironment
Convert an object to a target type.
convert(Nut, Class, Component) - Static method in class jfun.yan.xml.nuts.Util
Convert a Component so that the instantiation result is of a certain type.
convert(Nut, Class, Component[]) - Static method in class jfun.yan.xml.nuts.Util
Convert an array of Component object so that the instantiation results are of a certain type.
copyProperties(Map) - Method in class jfun.yan.xfire.ServiceBean
 
create(Dependency) - Method in interface jfun.yan.Creator
Create a component instance.
create(Dependency) - Method in class jfun.yan.Creator2Component
 
create(Dependency) - Method in class jfun.yan.DelegatingComponent
 
create() - Method in interface jfun.yan.factory.Factory
 
create() - Method in class jfun.yan.factory.PooledFactory
 
create(Class, Dependency) - Method in interface jfun.yan.Part
Creates a part instance.
create(Dependency) - Method in class jfun.yan.SimpleComponent
 
create() - Method in class jfun.yan.SimpleComponent
Subclasses can override this method to provide actual creation logic.
create(Class, String, String, Map) - Method in class jfun.yan.xfire.DecoratingObjectServiceFactory
 
create(Class, URL) - Method in class jfun.yan.xfire.DecoratingObjectServiceFactory
 
create(Class) - Method in class jfun.yan.xfire.DecoratingObjectServiceFactory
 
createArgs(Object) - Method in class jfun.yan.xml.nuts.optional.AbstractLoopRegisterNut
Create an array containing prefix, suffix and another value.
createArgs(Object, Object) - Method in class jfun.yan.xml.nuts.optional.AbstractLoopRegisterNut
Create an array containing prefix, suffix and two other values.
createController() - Method in class jfun.yan.xfire.XFireYanServlet
 
createList(Class, int) - Static method in class jfun.yan.util.Utils
Create a java.util.List instance.
createMap(Class, int) - Static method in class jfun.yan.util.Utils
Create a java.util.Map instance.
createMap(int) - Method in class jfun.yan.xml.nuts.MapNut
 
createMetaInterpreter() - Method in class jfun.yan.xml.NutsProcessor
Create an NutsProcessor object that's gonna be used to load meta configuration of Nut classes.
createMetaProcessor(ClassLoader, ResourceLoader) - Method in class jfun.yan.xml.NutsProcessor
Create an NutsProcessor object that's gonna be used to load meta configuration of Nut classes.
createMetaProcessor(ClassLoader) - Method in class jfun.yan.xml.NutsProcessor
Create an NutsProcessor object that's gonna be used to load meta configuration of Nut classes.
createNut() - Method in class jfun.yan.xml.nut.NutDescriptor
To create a Nut object represented by this descriptor.
createPreallocatedCollection(Class) - Static method in class jfun.yan.util.Utils
To instantiate a collection instance.
createSet(Class, int) - Static method in class jfun.yan.util.Utils
Create a java.util.Set instance.
createXFire() - Method in class jfun.yan.xfire.XFireYanServlet
 
createYanLoader() - Method in class jfun.yan.web.YanLoaderListener
Create the YanLoader to use.
createYanLoader() - Method in class jfun.yan.web.YanLoaderServlet
Create the YanLoader to use.
Creator<T> - Interface in jfun.yan
A creator is responsible for creating component instances.
Creator2Component<T> - Class in jfun.yan
To adapt a Creator object to Component.
Creator2Component(Creator<T>) - Constructor for class jfun.yan.Creator2Component
 
ctor(Class<T>) - Static method in class jfun.yan.Components
Create a Component object that uses the constructor of a class to create instance of that class.
ctor(Class<T>, Class[]) - Static method in class jfun.yan.Components
Create a Component that uses one constructor of a class to create instance of that class.
ctor(Constructor<T>) - Static method in class jfun.yan.Functions
Adapts a Constructor object to a Function object.
ctor(Class<T>) - Static method in class jfun.yan.Functions
Create a Function object that uses the public constructor of a class.
ctor(Class<T>, boolean) - Static method in class jfun.yan.Functions
Create a Function object that uses the constructor of a class.
ctor(Class<T>, Class[]) - Static method in class jfun.yan.Functions
Create a Function object that uses one public constructor of a class.
ctor(Class<T>, Class[], boolean) - Static method in class jfun.yan.Functions
Create a Function object that uses one constructor of a class.
ctor(Constructor, CtorMonitor) - Static method in class jfun.yan.monitoring.Monitors
Create a Function object for a Constructor with monitoring support.
ctor(Constructor) - Method in class jfun.yan.monitoring.Monitors
Create a Component for a constructor with monitoring support.
ctor(Class, Class[]) - Method in class jfun.yan.monitoring.Monitors
Create a Component for the constructor specified by the given signature with monitoring support.
ctor(Class, Class[], boolean) - Method in class jfun.yan.monitoring.Monitors
Create a Component for the constructor specified by the given signature with monitoring support.
ctor(Class) - Method in class jfun.yan.monitoring.Monitors
Create a Component for the only public constructor in a class with monitoring support.
ctor(Class, boolean) - Method in class jfun.yan.monitoring.Monitors
Create a Component for the only public constructor in a class with monitoring support.
CtorMonitor - Interface in jfun.yan.monitoring
This interface represents something that monitors the invocation of a constructor.
CyclicDependencyException - Exception in jfun.yan
Represents the error when a cyclic dependency is detected.
CyclicDependencyException(String) - Constructor for exception jfun.yan.CyclicDependencyException
Create a CyclicDependencyException object.
CyclicDependencyException() - Constructor for exception jfun.yan.CyclicDependencyException
Create a CyclicDependencyException object.
CyclicModuleDependencyException - Exception in jfun.yan.xml
Represents an exception when module files have circular dependency.
CyclicModuleDependencyException(String, Location) - Constructor for exception jfun.yan.xml.CyclicModuleDependencyException
Create a CyclicModuleDependencyException object.

A B C D E F G H I J K L M N O P R S T U V W X Y