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

P

Pair - Class in jfun.util
Represents a immutable pair of objects.
Pair(Object, Object) - Constructor for class jfun.util.Pair
Create a pair.
ParameterBinder<T> - Interface in jfun.yan
Dynamically maps a parameter to a Creator that creates the corresponding argument value.
ParameterEntry - Class in jfun.yan
This class represents a parameter in a Function object.
ParameterEntry(Function, int) - Constructor for class jfun.yan.ParameterEntry
Create a ParameterEntry object.
ParameterTypeMismatchException - Exception in jfun.yan
Represents an exception when the type of the actual argument does not match the expected parameter type.
ParameterTypeMismatchException(Object, Signature, int, Class, Class) - Constructor for exception jfun.yan.ParameterTypeMismatchException
Create a ParameterTypeMismatchException object.
PARAMS - Static variable in class jfun.yan.xml.Constants
 
params_bytype - Static variable in class jfun.yan.xml.Modes
Wire parameters by type.
parseLocale(String) - Static method in class jfun.util.DateUtil
To parse a string to Local object.
Part - Interface in jfun.yan
A Part object encapsulates creation and verification logic for any property or parameter of a component.
pass() - Static method in class jfun.yan.Monad
Create a ComponentBinder object that always returns the same object passed in.
Phase - Class in jfun.yan.lifecycle
A descriptor class representing a certain phase within a life-cycle.
Phase(Object, ExceptionHandler) - Constructor for class jfun.yan.lifecycle.Phase
To created a Phase object.
Pool<T> - Interface in jfun.yan.factory
Represents a pooling strategy for certain object instance.
PooledFactory<T> - Class in jfun.yan.factory
This class decorates a Factory object that uses a Pool strategy to cache the factory result;
PooledFactory(Factory<T>, Pool<T>) - Constructor for class jfun.yan.factory.PooledFactory
 
Predicate - Interface in jfun.yan.util
Maps an Object to a boolean value.
predicate(Object, Object) - Method in class jfun.yan.xml.nuts.optional.BinaryPredicateNut
The predicate.
predicate(Object, Object) - Method in class jfun.yan.xml.nuts.optional.EqualsNut
 
predicate(Object, Object) - Method in class jfun.yan.xml.nuts.optional.NotEqualsNut
 
predicate(Object, Object) - Method in class jfun.yan.xml.nuts.optional.NotSameNut
 
predicate(Object, Object) - Method in class jfun.yan.xml.nuts.optional.SameNut
 
preInstantiate(Container, Map) - Method in class jfun.yan.xml.NutsProcessor
Pre-initialize eagerly instantiated components.
preInstantiate(Container) - Method in class jfun.yan.xml.NutsProcessor
Pre-initialize eagerly instantiated components.
preInstantiate(Map) - Method in class jfun.yan.xml.NutsProcessor
Pre-initialize eagerly instantiated components.
preInstantiate() - Method in class jfun.yan.xml.NutsProcessor
Pre-initialize eagerly instantiated components.
printDependencyTrace(PrintStream) - Method in exception jfun.yan.xml.CyclicModuleDependencyException
Print the dependency trace.
printDependencyTrace(PrintWriter) - Method in exception jfun.yan.xml.CyclicModuleDependencyException
Print the dependency trace.
printDependencyTrace() - Method in exception jfun.yan.xml.CyclicModuleDependencyException
Prints the dependency trace to the standard error output.
printer() - Static method in class jfun.yan.lifecycle.ExceptionHandlers
Get an ExceptionHandler object that prints the stack trace to System.err.
printer(PrintStream) - Static method in class jfun.yan.lifecycle.ExceptionHandlers
Get an ExceptionHandler object that prints the stack trace to a PrintStream object.
PrintNut - Class in jfun.yan.xml.nuts.optional
A Nut class that prints a message to the standard output when evaluated.
PrintNut() - Constructor for class jfun.yan.xml.nuts.optional.PrintNut
 
printResolutionTrace(PrintStream) - Method in exception jfun.yan.YanException
Print the resolution trace.
printResolutionTrace(PrintWriter) - Method in exception jfun.yan.YanException
Print the resultion trace.
printResolutionTrace() - Method in exception jfun.yan.YanException
Prints the resolution trace to the standard error output.
printStackTrace(PrintStream) - Method in exception jfun.yan.xml.CyclicModuleDependencyException
 
printStackTrace(PrintWriter) - Method in exception jfun.yan.xml.CyclicModuleDependencyException
 
printStackTrace(PrintStream) - Method in exception jfun.yan.YanException
 
printStackTrace(PrintWriter) - Method in exception jfun.yan.YanException
 
Procedure - Interface in jfun.yan.lifecycle
Represents any procedure that can be invoked.
Procedures - Class in jfun.yan.lifecycle
Facade class providing some useful Procedure implementations.
Procedures() - Constructor for class jfun.yan.lifecycle.Procedures
 
process(ClassLoader, ServletContext) - Method in class jfun.yan.web.YanLoader
Create a NutsProcessor object based on the configuration in ServletContext.
process(Object, InputStream) - Method in class jfun.yan.xml.NutsProcessor
Process bytes read from an InputStream.
processFile(String) - Method in class jfun.yan.xml.NutsProcessor
Process a config file.
processFile(File) - Method in class jfun.yan.xml.NutsProcessor
Process a config file.
processResource(String) - Method in class jfun.yan.xml.NutsProcessor
Process a resource from the component class loader as an xml configuration.
Prop - Class in jfun.yan.xml.nuts
The Nut class for <prop> tag.
Prop() - Constructor for class jfun.yan.xml.nuts.Prop
 
PropertiesInjector - Interface in jfun.yan
Represents the logic that pulls property values from a Dependency object and inject them into the appropriate properties.
PropertiesNut - Class in jfun.yan.xml.nuts
The <props> tag that creates Properties object.
PropertiesNut() - Constructor for class jfun.yan.xml.nuts.PropertiesNut
 
PropertiesRegisterNut - Class in jfun.yan.xml.nuts.optional
This class dynamically registers components using the information read from a property file.
PropertiesRegisterNut() - Constructor for class jfun.yan.xml.nuts.optional.PropertiesRegisterNut
 
Property2Signature - Class in jfun.yan.function
To adapt a Java Bean property description to a Signature object.
Property2Signature(Class, Object, Class) - Constructor for class jfun.yan.function.Property2Signature
To create a Property2Signature object.
PropertyBinder - Interface in jfun.yan
Dynamically map a property to a Creator object that creates the property value.
PropertyEditorDeserializer - Class in jfun.yan.util.deserializer
The adapter to convert a PropertyEditor class to a Deserializer.
PropertyEditorDeserializer(Class) - Constructor for class jfun.yan.util.deserializer.PropertyEditorDeserializer
 
PropertyEntry - Class in jfun.yan
This class represents a property of an object.
PropertyEntry(Object, Object) - Constructor for class jfun.yan.PropertyEntry
Create a PropertyEntry object.
propertyGetFailed(Object, PropertyDescriptor, Throwable, long) - Method in interface jfun.yan.monitoring.GetterMonitor
This method is called after the getter failed.
propertyGetFailed(Object, PropertyDescriptor, int, Throwable, long) - Method in interface jfun.yan.monitoring.IndexedGetterMonitor
This method is called after the getter failed.
propertyGetFailed(Object, PropertyDescriptor, int, Throwable, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertyGetFailed(Object, PropertyDescriptor, Throwable, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertyGetting(Object, PropertyDescriptor) - Method in interface jfun.yan.monitoring.GetterMonitor
This method is called right before the getter is called.
propertyGetting(Object, PropertyDescriptor, int) - Method in interface jfun.yan.monitoring.IndexedGetterMonitor
This method is called right before the getter is called.
propertyGetting(Object, PropertyDescriptor, int) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertyGetting(Object, PropertyDescriptor) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertyGot(Object, PropertyDescriptor, Object, long) - Method in interface jfun.yan.monitoring.GetterMonitor
This method is called after the getter is called successfully.
propertyGot(Object, PropertyDescriptor, int, Object, long) - Method in interface jfun.yan.monitoring.IndexedGetterMonitor
This method is called after the getter is called successfully.
propertyGot(Object, PropertyDescriptor, int, Object, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertyGot(Object, PropertyDescriptor, Object, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
PropertyNotReadableException - Exception in jfun.util.beans
Represents an exception when a property read fails.
PropertyNotReadableException(Class, String) - Constructor for exception jfun.util.beans.PropertyNotReadableException
Create a PropertyNotReadableException object.
PropertyNotReadableException(Class, String, String) - Constructor for exception jfun.util.beans.PropertyNotReadableException
Create a PropertyNotReadableException object.
PropertyNotWritableException - Exception in jfun.util.beans
Represents an exception when a property write fails.
PropertyNotWritableException(Class, String) - Constructor for exception jfun.util.beans.PropertyNotWritableException
Create a PropertyNotWritableException object.
PropertyNotWritableException(Class, String, String) - Constructor for exception jfun.util.beans.PropertyNotWritableException
Create a PropertyNotWritableException object.
PropertyPredicate - Interface in jfun.yan.etc
A predicate against named property.
propertySet(Object, PropertyDescriptor, int, Object, long) - Method in interface jfun.yan.monitoring.IndexedSetterMonitor
This method is called after the setter is called successfully.
propertySet(Object, PropertyDescriptor, Object, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertySet(Object, PropertyDescriptor, int, Object, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertySet(Object, PropertyDescriptor, Object, long) - Method in interface jfun.yan.monitoring.SetterMonitor
This method is called after the setter is called successfully.
propertySetFailed(Object, PropertyDescriptor, int, Object, Throwable, long) - Method in interface jfun.yan.monitoring.IndexedSetterMonitor
This method is called after the setter failed.
propertySetFailed(Object, PropertyDescriptor, Object, Throwable, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertySetFailed(Object, PropertyDescriptor, int, Object, Throwable, long) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertySetFailed(Object, PropertyDescriptor, Object, Throwable, long) - Method in interface jfun.yan.monitoring.SetterMonitor
This method is called after the setter failed.
propertySetting(Object, PropertyDescriptor, int, Object) - Method in interface jfun.yan.monitoring.IndexedSetterMonitor
This method is called right before the setter is called.
propertySetting(Object, PropertyDescriptor, Object) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertySetting(Object, PropertyDescriptor, int, Object) - Method in class jfun.yan.monitoring.NopComponentMonitor
 
propertySetting(Object, PropertyDescriptor, Object) - Method in interface jfun.yan.monitoring.SetterMonitor
This method is called right before the setter is called.
PropertyTypeMismatchException - Exception in jfun.yan
Represents an exception where the type of the actual property value does not match the expected property type.
PropertyTypeMismatchException(Object, Class, Object, Class, Class) - Constructor for exception jfun.yan.PropertyTypeMismatchException
Create a PropertyTypeMismatchException object.
props_autodetect - Static variable in class jfun.yan.xml.Modes
The autodetect mode.
props_byname - Static variable in class jfun.yan.xml.Modes
Wire properties by name.
props_byqualifiedname - Static variable in class jfun.yan.xml.Modes
Wire properties by fully qualified name.
props_bytype - Static variable in class jfun.yan.xml.Modes
Wire properties by type.
proxier() - Static method in class jfun.yan.containers.ComponentTransformers
Return the ComponentTransformer that transforms a Component to use dynamic proxy.
Proxies - Class in jfun.yan
This class provides all dynamic proxy related utility functions.
Proxies() - Constructor for class jfun.yan.Proxies
 
proxy(Class[]) - Method in class jfun.yan.Component
Create a new Component object that uses dynamic proxy to transform the return value 'this' Component creates to a dynamic proxy.
proxy(Class<I>) - Method in class jfun.yan.Component
Create a new Component object that uses dynamic proxy to transform the return value 'this' Component creates to a dynamic proxy.
proxy() - Method in class jfun.yan.Component
Create a new Component object that uses dynamic proxy to transform the return value 'this' Component creates to a dynamic proxy.
proxy(Component, Class[]) - Static method in class jfun.yan.Components
Customizes a Component object so that the new Component object will return a dynamic proxy and hide the real component instance.
proxy(Component, Class[], ClassLoader) - Static method in class jfun.yan.Components
Customizes a Component object so that the new Component object will return a dynamic proxy and hide the real component instance.
proxy(Component<?>, Class<I>) - Static method in class jfun.yan.Components
Customizes a Component object so that the new Component object will return a dynamic proxy and hide the real component instance.
proxy(Component) - Static method in class jfun.yan.Components
Customizes a Component object so that the new Component object will return a dynamic proxy and hide the real component instance.
proxy() - Method in class jfun.yan.DecoratingComponent
 
proxy(Class) - Method in class jfun.yan.DecoratingComponent
 
proxy(Class[]) - Method in class jfun.yan.DecoratingComponent
 
ProxyContainer - Class in jfun.yan.containers
A container that transforms all the components registered to it to use dynamic proxy for instance creation.
ProxyContainer() - Constructor for class jfun.yan.containers.ProxyContainer
 
ProxyNut - Class in jfun.yan.xml.nuts
Nut class for <proxy> tag.
ProxyNut() - Constructor for class jfun.yan.xml.nuts.ProxyNut
 
publishEvent(ApplicationEvent) - Method in class jfun.yan.spring.Container2ApplicationContext
 
push(Object) - Method in exception jfun.yan.xml.CyclicModuleDependencyException
Pushes a frame to the exception.
push(Object) - Method in exception jfun.yan.YanException
Pushes a resolution frame to the exception.
put(Object, Procedure, boolean) - Method in class jfun.yan.lifecycle.Lifecycle
To add a phase.

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