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

A

Account - interface org.jpu.patterns.proxy.test.Account.
 
AccountBase - interface org.jpu.patterns.proxy.test.AccountBase.
 
AccountImpl - class org.jpu.patterns.proxy.test.AccountImpl.
 
AccountImpl(boolean) - Constructor for class org.jpu.patterns.proxy.test.AccountImpl
 
addDelegateMappings(List) - Method in class org.jpu.patterns.proxy.DelegatingProxy
 
addInitializer(int, IPrototypeFactory.IInitializer) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Adds the given initializer at position "i".
addInitializer(int, IPrototypeFactory.IInitializer) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
addInitializer(int, IOnePerContextManager.IInitializer) - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
Adds the given initializer at position "i".
addInitializer(int, IOnePerContextManager.IInitializer) - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
areAnyAssignable(Collection, Class) - Static method in class org.jpu.patterns.common.JPUClassUtils
 
areAnyAttributesChanged() - Method in interface org.jpu.patterns.proxy.IProxyBean
 
areAnyAttributesChanged() - Method in class org.jpu.patterns.proxy.ProxyBean
Convenience alias for " ! getChangedAttributes().isEmpty()".
areValuesEqual(JPUBeanUtils.MethodDescriptor, Object, Object) - Method in class org.jpu.patterns.proxy.ProxyBean
Returns whether the two given values are considered equal.
assertTypeAllowed(Class) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Calls IPrototypeFactory.isTypeAllowed(Class) and throws TypeMismatchException if it returns false.
assertTypeAllowed(Class) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
attributeName - Variable in class org.jpu.patterns.common.JPUBeanUtils.MethodDescriptor
 
attributesToCopy - Variable in class org.jpu.patterns.common.CopyOptions
 
attributesToIgnore - Variable in class org.jpu.patterns.common.CopyOptions
 
autoDelegateToMap() - Method in class org.jpu.patterns.proxy.ProxyBean
Returns whether implementations of getters and setters are automatically provided.
autoDelegateToSelf(Object, Method, Object[]) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Returns whether self delegation is performed automatically for any matching method invocations.

C

CLONE - Static variable in interface org.jpu.patterns.factory.IPrototypeFactory.IInitializer
 
CopyException - exception org.jpu.patterns.common.CopyException.
 
CopyException() - Constructor for class org.jpu.patterns.common.CopyException
 
CopyException(Throwable) - Constructor for class org.jpu.patterns.common.CopyException
 
CopyException(String, Throwable) - Constructor for class org.jpu.patterns.common.CopyException
 
CopyException(String) - Constructor for class org.jpu.patterns.common.CopyException
 
CopyOptions - class org.jpu.patterns.common.CopyOptions.
Class used by clients to pass options to JPUBeanUtils.copy(java.lang.Object, java.lang.Object) governing how the copying is performed.
CopyOptions() - Constructor for class org.jpu.patterns.common.CopyOptions
 
castHomeTo - Variable in class org.jpu.patterns.serviceLocator.SLSBLocatorOptions
 
castTo - Variable in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
classNameToInstance(String) - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
Returns a new instance of the prototype whose name is passed.
clear() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Removes all prototypes from the factory.
clear() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
clear() - Method in interface org.jpu.patterns.serviceLocator.ILocator.ICache
 
clear() - Method in class org.jpu.patterns.serviceLocator.Locator.NullCache
 
clearCache() - Method in interface org.jpu.patterns.serviceLocator.ILocator
Removes all items from the cache.
clearCache() - Method in class org.jpu.patterns.serviceLocator.Locator
 
clearChangedFlag(String) - Method in class org.jpu.patterns.proxy.ProxyBean
Clears the changed flag for the named attribute.
clearChangedFlags() - Method in interface org.jpu.patterns.proxy.IProxyBean
 
clearChangedFlags() - Method in class org.jpu.patterns.proxy.ProxyBean
Clears all changed flas.
clone() - Method in class org.jpu.patterns.common.JPUBeanUtils.MethodDescriptor
 
clone() - Method in class org.jpu.patterns.factory.FactoryOptions
 
clone() - Method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
cloneObjectEfficiently(Object) - Static method in class org.jpu.patterns.common.JPUObjectUtils
Alias for "cloneObjectEfficiently(o, "clone")".
cloneObjectEfficiently(Object, String) - Static method in class org.jpu.patterns.common.JPUObjectUtils
First attempts to clone the object using a public clone method with the specified name; if that fails it falls back to SerializationUtils.clone() (which is much slower); if that fails, throws a NestableRuntimeException holding the resulting exception.
clonePrototype(Object, FactoryOptions) - Method in class org.jpu.patterns.factory.PrototypeFactory
Clones the given prototype.
concatJndiProperties(Properties) - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultIdentifierParser
 
configure() - Method in interface org.jpu.patterns.factory.IPrototypeFactory.IConfigStrategy
 
configure() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
 
copy(Object, Object) - Static method in class org.jpu.patterns.common.JPUBeanUtils
Convenience alias for "copy(from, to, null)".
copy(Object, Object, CopyOptions) - Static method in class org.jpu.patterns.common.JPUBeanUtils
Copies specified attributes from "from" to "to" giving the caller very precise control, via the "options" parameter, over how the copying is to take place.
copy - Variable in class org.jpu.patterns.factory.FactoryOptions
 
copyChangesTo(Object) - Method in interface org.jpu.patterns.proxy.IProxyBean
 
copyChangesTo(Object, CopyOptions) - Method in interface org.jpu.patterns.proxy.IProxyBean
 
copyChangesTo(Object) - Method in class org.jpu.patterns.proxy.ProxyBean
Convenience alias for "copyChangesTo(dest, null)".
copyChangesTo(Object, CopyOptions) - Method in class org.jpu.patterns.proxy.ProxyBean
Copies all attributes from this object to dest using the given options.
copyTo(Object) - Method in interface org.jpu.patterns.proxy.IProxyBean
 
copyTo(Object, CopyOptions) - Method in interface org.jpu.patterns.proxy.IProxyBean
 
copyTo(Object) - Method in class org.jpu.patterns.proxy.ProxyBean
Convenience alias for "copyTo(dest,null)".
copyTo(Object, CopyOptions) - Method in class org.jpu.patterns.proxy.ProxyBean
Copies all attributes to "dest" (which needn't be backed by a ProxyBean) with the given CopyOptions using JPUBeanUtils.copy(java.lang.Object, java.lang.Object).
create(FactoryOptions) - Method in interface org.jpu.patterns.factory.IPrototypeFactory.IInstantiator
Instantiates the object.
create() - Method in class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.BogusHome
 
createSLSB(Object, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.SLSBLocator
Creates a SLSB given its home.

D

DEFAULT_CONTEXT - Static variable in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
 
DEFAULT_CTX - Static variable in class org.jpu.patterns.singleton.onePerContext.test.Foo
 
DataSourceLocator - class org.jpu.patterns.serviceLocator.DataSourceLocator.
Subclass of Locator specialized for DataSource's.
DataSourceLocator() - Constructor for class org.jpu.patterns.serviceLocator.DataSourceLocator
 
DataSourceLocator - class org.jpu.patterns.serviceLocator.onePerContext.DataSourceLocator.
Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.
DataSourceLocator() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.DataSourceLocator
 
DelegatingProxy - class org.jpu.patterns.proxy.DelegatingProxy.
Experimental class; do not use.
DelegatingProxy() - Constructor for class org.jpu.patterns.proxy.DelegatingProxy
 
DelegatingProxy.Delegator - interface org.jpu.patterns.proxy.DelegatingProxy.Delegator.
 
DelegatingProxy.Mapping - class org.jpu.patterns.proxy.DelegatingProxy.Mapping.
 
DelegatingProxy.Mapping(Class, Object) - Constructor for class org.jpu.patterns.proxy.DelegatingProxy.Mapping
 
declaringClass - Variable in class org.jpu.patterns.proxy.DelegatingProxy.Mapping
 
defaultIfNull(CopyOptions) - Static method in class org.jpu.patterns.common.CopyOptions
 
defaultIfNull(FactoryOptions) - Static method in class org.jpu.patterns.factory.FactoryOptions
 
defaultIfNull(ServiceLocatorOptions) - Static method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
delegate(Object, Method, Object[]) - Method in interface org.jpu.patterns.proxy.DelegatingProxy.Delegator
 
delegate - Variable in class org.jpu.patterns.proxy.DelegatingProxy.Mapping
 
delegate(Object, Object, Method, Object[], Object[]) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Attempts to delegate the given method invocation to "target".
delegateToMap(Object, Object[], Object[]) - Method in class org.jpu.patterns.proxy.ProxyBean
Convenience alias for "delegateToMap(proxy, null, args, result)".
delegateToMap(Object, Method, Object[], Object[]) - Method in class org.jpu.patterns.proxy.ProxyBean
 
descPrototype(Object) - Method in class org.jpu.patterns.factory.PrototypeFactory
Returns a description of the given prototype for logging.
destClasses - Variable in class org.jpu.patterns.common.CopyOptions
 
doGetAllowableTypes(Set) - Method in class org.jpu.patterns.factory.PrototypeFactory
The subclass can override this method to enable type checking for inserted prototypes.
doGetImplementedInterfaces(Collection) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Default implementation does nothing, but subclasses can override to add to dest the Class instances of any interfaces the generated proxy should implement, in addition to those explicitly passed via the first parameter to JPUInvocationHandler.newProxy(Class[], ClassLoader).
doInvoke(Object, Method, Object[], Object[]) - Method in class org.jpu.patterns.proxy.DelegatingProxy
 
doInvoke(Object, Method, Object[], Object[]) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Overrides the method of JPUInvocationHandler.
doInvoke(Object, Method, Object[], Object[]) - Method in class org.jpu.patterns.proxy.ProxyBean
Overrides the corresponding method of JPUInvocationHandler.
doInvoke(Object, Method, Object[], Object[]) - Method in class org.jpu.patterns.proxy.test.JPUProxyAccountImpl
 
doNewObject(Object, FactoryOptions) - Method in class org.jpu.patterns.factory.PrototypeFactory
Creates a new object based on the given prototype.
dontPopulateMap - Variable in class org.jpu.patterns.common.CopyOptions
 

E

evaluate(Object) - Method in class org.jpu.patterns.common.JPUClassUtils.IsAssignable
 

F

FactoryOptions - class org.jpu.patterns.factory.FactoryOptions.
Used by clients of IPrototypeFactory to pass options adjusting its behavior.
FactoryOptions() - Constructor for class org.jpu.patterns.factory.FactoryOptions
 
Foo - class org.jpu.patterns.singleton.onePerContext.test.Foo.
 
Foo() - Constructor for class org.jpu.patterns.singleton.onePerContext.test.Foo
 
fetchPrototypeSpec() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
This method fetches the factory's prototype list from the configuration source.
findManagersByClass(Class) - Static method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
findManagersByClass(Class, boolean) - Static method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
forPrototypeOnly() - Method in interface org.jpu.patterns.factory.IPrototypeFactory.IInstantiator
Returns whether the instantiator is to be used for all subsequent object construction (if false) or just for the creation of an initial prototype for later cloning (if true).

G

GETTER - Static variable in class org.jpu.patterns.common.JPUBeanUtils.MethodDescriptor
 
get(String) - Method in interface org.jpu.patterns.serviceLocator.ILocator.ICache
 
get(String) - Method in class org.jpu.patterns.serviceLocator.Locator.NullCache
 
getAllowableTypes() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Returns the set types allowable for prototypes held by this factory.
getAllowableTypes() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getAssignmentString() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
Returns the string that acts as a separator between the list of prototype names and the name of the prototype class.
getAttribute(String) - Method in class org.jpu.patterns.proxy.ProxyBean
Returns the value of the named attribute, or null if that attribute is not present.
getAttribute(JPUBeanUtils.MethodDescriptor) - Method in class org.jpu.patterns.proxy.ProxyBean
Returns the value of the attribute associated with the given getter method.
getAttributes() - Method in interface org.jpu.patterns.proxy.IProxyBean
Returns a Map containing all the attributes managed by the underlying ProxyBean, keyed by attribute name.
getAttributes() - Method in class org.jpu.patterns.proxy.ProxyBean
Returns a Map containing all the attributes.
getAttributesToCopy() - Method in class org.jpu.patterns.common.CopyOptions
 
getAttributesToIgnore() - Method in class org.jpu.patterns.common.CopyOptions
 
getCache() - Method in interface org.jpu.patterns.serviceLocator.ILocator
Returns the cache.
getCache() - Method in class org.jpu.patterns.serviceLocator.Locator
 
getCacheHits() - Static method in class org.jpu.patterns.common.JPUBeanUtils
 
getCacheHits() - Static method in class org.jpu.patterns.proxy.JPUInvocationHandler
Returns the number of cache hits registered for the self-delegation cache since JPUInvocationHandler.resetCacheCounters() was last called.
getCacheMisses() - Static method in class org.jpu.patterns.common.JPUBeanUtils
 
getCacheMisses() - Static method in class org.jpu.patterns.proxy.JPUInvocationHandler
Returns the number of cache misses registered for the self-delegation cache since JPUInvocationHandler.resetCacheCounters() was last called.
getCastHomeTo() - Method in class org.jpu.patterns.serviceLocator.SLSBLocatorOptions
 
getCastTo() - Method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
getChangedAttributes() - Method in interface org.jpu.patterns.proxy.IProxyBean
 
getChangedAttributes() - Method in class org.jpu.patterns.proxy.ProxyBean
Returns the names of all attributes that have changed since the last call to ProxyBean.clearChangedFlags() (or since the object's creation).
getClassDescriptor(Class) - Static method in class org.jpu.patterns.common.JPUBeanUtils
 
getClassIterator(Class) - Static method in class org.jpu.patterns.common.JPUBeanUtils
 
getClassName() - Method in interface org.jpu.patterns.factory.IPrototypeFactory.IPrototypeReference
 
getConfigStrategy() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Returns the IPrototypeFactory.IConfigStrategy used to configure this factory.
getConfigStrategy() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getCopy() - Method in class org.jpu.patterns.factory.FactoryOptions
 
getCurrentInterfaceMethod() - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Returns the interface method through which the current invocation was called.
getDataSource(String) - Method in class org.jpu.patterns.serviceLocator.DataSourceLocator
 
getDataSource(String, Class) - Method in class org.jpu.patterns.serviceLocator.DataSourceLocator
 
getDataSource(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.DataSourceLocator
 
getDataSource(String) - Method in interface org.jpu.patterns.serviceLocator.IDataSourceLocator
 
getDataSource(String, Class) - Method in interface org.jpu.patterns.serviceLocator.IDataSourceLocator
 
getDataSource(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.IDataSourceLocator
 
getDefaultCast() - Method in class org.jpu.patterns.serviceLocator.DataSourceLocator
 
getDefaultCast() - Method in interface org.jpu.patterns.serviceLocator.ILocator
By default returns null, but subclasses can override to return the Class that should be passed as the second parameter to ILocator.narrow(Object,Class) if no class is passed via the castTo attribute of the ServiceLocatorOptions instance.
getDefaultCast() - Method in class org.jpu.patterns.serviceLocator.Locator
 
getDefaultCast() - Method in class org.jpu.patterns.serviceLocator.QueueCFLocator
 
getDefaultCast() - Method in class org.jpu.patterns.serviceLocator.QueueLocator
 
getDefaultCast() - Method in class org.jpu.patterns.serviceLocator.TopicCFLocator
 
getDefaultCast() - Method in class org.jpu.patterns.serviceLocator.TopicLocator
 
getDefaultCast() - Method in class org.jpu.patterns.serviceLocator.UserTransactionLocator
 
getDefaultCast() - Method in class org.jpu.patterns.serviceLocator.XAQueueCFLocator
 
getDefaultClassLoader() - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Returns the ClassLoader to pass to the first parameter of Proxy.newInstance() if null is passed as the second parameter to JPUInvocationHandler.newProxy(Class[], ClassLoader).
getDefaultContext() - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
getDelegationMethod(Method) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Alias for "getDelegationTargetMethod( interfaceMethod, getClass() )".
getDelegationState() - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Returns the state of the self-delegation action that is currently in progress, or null if no self-delegation is in progress.
getDelegationTargetMethod(Method, Class) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Returns the method on the invocation handler to which invocations on the given interface method should be delegated, or null if no such method exists.
getDelimeter() - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultIdentifierParser
 
getDescriptor(Method) - Static method in class org.jpu.patterns.common.JPUBeanUtils
 
getDescriptor(Method) - Method in class org.jpu.patterns.proxy.ProxyBean
 
getDestClasses() - Method in class org.jpu.patterns.common.CopyOptions
 
getDontPopulate() - Method in class org.jpu.patterns.common.CopyOptions
 
getFactory() - Method in interface org.jpu.patterns.factory.IPrototypeFactory.IConfigStrategy
 
getFactory() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
 
getFallbackPrototypeSpec() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
Returns the prototype spec that is used if none is found in the configuration database.
getHome(String) - Method in class org.jpu.patterns.serviceLocator.HomeLocator
 
getHome(String, Class) - Method in class org.jpu.patterns.serviceLocator.HomeLocator
 
getHome(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.HomeLocator
 
getHome(String) - Method in interface org.jpu.patterns.serviceLocator.IHomeLocator
 
getHome(String, Class) - Method in interface org.jpu.patterns.serviceLocator.IHomeLocator
 
getHome(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.IHomeLocator
 
getId() - Method in interface org.jpu.patterns.proxy.test.Account
 
getId() - Method in interface org.jpu.patterns.proxy.test.AccountBase
 
getId() - Method in class org.jpu.patterns.proxy.test.HardCodedAccountImpl
 
getIdentifier() - Method in interface org.jpu.patterns.serviceLocator.ILocator.IIdentifierParser
 
getIdentifier() - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultIdentifierParser
 
getIgnoreNulls() - Method in class org.jpu.patterns.common.CopyOptions
 
getIncludeDestSuperclassAttributes() - Method in class org.jpu.patterns.common.CopyOptions
 
getIncludeSourceSuperclassAttributes() - Method in class org.jpu.patterns.common.CopyOptions
 
getInitializers() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Returns a shallow copy of the internal list of IPrototypeFactory.IInitializer's.
getInitializers() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getInitializers() - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
Returns a shallow copy of the internal list of IOnePerContextManager.IInitializer's.
getInitializers() - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
getInstance() - Static method in class org.jpu.patterns.serviceLocator.onePerContext.DataSourceLocator
 
getInstance(Object) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.DataSourceLocator
 
getInstance() - Static method in class org.jpu.patterns.serviceLocator.onePerContext.HomeLocator
 
getInstance(Object) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.HomeLocator
 
getInstance() - Static method in class org.jpu.patterns.serviceLocator.onePerContext.QueueCFLocator
 
getInstance(Object) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.QueueCFLocator
 
getInstance() - Static method in class org.jpu.patterns.serviceLocator.onePerContext.QueueLocator
 
getInstance(Object) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.QueueLocator
 
getInstance() - Static method in class org.jpu.patterns.serviceLocator.onePerContext.SLSBLocator
 
getInstance(Object) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.SLSBLocator
 
getInstance() - Static method in class org.jpu.patterns.serviceLocator.onePerContext.TopicCFLocator
 
getInstance(Object) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.TopicCFLocator
 
getInstance() - Static method in class org.jpu.patterns.serviceLocator.onePerContext.TopicLocator
 
getInstance(Object) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.TopicLocator
 
getInstance() - Static method in class org.jpu.patterns.serviceLocator.onePerContext.UserTransactionLocator
 
getInstance(Object) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.UserTransactionLocator
 
getInstance() - Static method in class org.jpu.patterns.serviceLocator.onePerContext.XAQueueCFLocator
 
getInstance(Object) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.XAQueueCFLocator
 
getInstance(Object) - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
Returns the One-Per-Context of the given class associated with the given context.
getInstance(Object) - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
getInstance() - Static method in class org.jpu.patterns.singleton.onePerContext.test.Foo
 
getInstantiator() - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
Returns the IOnePerContextManager.IInstantiator used for instantiating One-Per-Context's.
getInstantiator() - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
getInterfaces(Class[]) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Returns all interfaces that this invocation handler's proxy implements.
getIntrinsicAliases(Object, Set) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
By default does nothing, but subclasses may override.
getIntrinsicAliases(Object, Set) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getJndiProperties(Properties) - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultLookupStrategy
 
getLock() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Returns the lock used for synchronizing on shared data structures.
getLock() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getLookupCaseSensitive() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Returns whether factory lookup of prototypes is case sensitive.
getLookupCaseSensitive() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getLookupStrategy() - Method in interface org.jpu.patterns.serviceLocator.ILocator
Returns the current ILocator.ILookupStrategy.
getLookupStrategy() - Method in class org.jpu.patterns.serviceLocator.Locator
 
getManagers() - Static method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
Returns the set of all currently active OnePerContextManager's.
getMethods(Class[], int, boolean, boolean) - Static method in class org.jpu.patterns.common.JPUBeanUtils
Returns all methods of the given type declared in any classes in the "classes" array (or their superclasses or superinterfaces), keyed by corresponding attribute name.
getModifiableKeysList() - Method in class org.jpu.patterns.factory.PrototypeFactory
Returns the modifiable list of prototype keys ordered by their insertion into the factory.
getModifiablePrototypeMap() - Method in class org.jpu.patterns.factory.PrototypeFactory
Gets the modifiable prototype map.
getName() - Method in interface org.jpu.patterns.serviceLocator.ILocator.IIdentifierParser
 
getName() - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultIdentifierParser
 
getName() - Method in class org.jpu.patterns.singleton.onePerContext.test.Foo
 
getNarrowStrategy() - Method in interface org.jpu.patterns.serviceLocator.ILocator
Returns the current ILocator.INarrowStrategy.
getNarrowStrategy() - Method in class org.jpu.patterns.serviceLocator.Locator
 
getNoCache() - Method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
getObject(Object, FactoryOptions) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
 
getObject(Object, FactoryOptions) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getObject(String, Class) - Method in interface org.jpu.patterns.serviceLocator.ILocator
Convenience alias for "getObject( namingIdentifier, new ServiceLocatorOptions().setCastTo(c) )".
getObject(String) - Method in interface org.jpu.patterns.serviceLocator.ILocator
Convenience alias for "getObject(namingIdentifier, (ServiceLocatorOptions)null)".
getObject(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.ILocator
Attempts to find the object with the given JNDI name using the given options.
getObject(String) - Method in class org.jpu.patterns.serviceLocator.Locator
 
getObject(String, Class) - Method in class org.jpu.patterns.serviceLocator.Locator
 
getObject(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.Locator
 
getObjects() - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
Returns a shallow copy of the internal map that maps contexts to One-Per-Context instances.
getObjects() - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
getOnePerContextClass() - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
Returns the class passed as the first parameter to the constructor.
getOnePerContextClass() - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
getOwner() - Method in interface org.jpu.patterns.common.IReentrantLock
 
getOwner() - Method in class org.jpu.patterns.common.ReentrantLock
Returns the thread owner of this ReentrantLock.
getProperties() - Method in interface org.jpu.patterns.serviceLocator.ILocator.IIdentifierParser
 
getProperties() - Method in interface org.jpu.patterns.serviceLocator.ILocator.ILookupStrategy
 
getProperties() - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultIdentifierParser
 
getProperties() - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultLookupStrategy
 
getPrototypeDeclarationSeparator() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
Returns the string that acts as a separator between <protospec>'s.
getPrototypeFromMap(Object) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getPrototypeKeysInInsertionOrder() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
If prototype insertion order is being preserved (as determined by preserveInsertionOrder()), returns the keys of these prototypes as an unmodifiable List in the order in which they were inserted; else returns an empty unmodifiable List.
getPrototypeKeysInInsertionOrder() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getPrototypeNameSeparator() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
Returns the string that acts as a separator between successive prototype names.
getPrototypeSpec() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
 
getPrototypes() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Returns an unmodifiable Map defining the mapping between prototype keys and their corresponding prototypes.
getPrototypes() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getPrototypesInInsertionOrder() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
If prototype insertion order is being preserved (as determined by IPrototypeFactory.preserveInsertionOrder()), returns the prototypes as an unmodifiable List in the order in which they were inserted; else returns an empty unmodifiable List.
getPrototypesInInsertionOrder() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getProxy() - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Returns the proxy for which this invocation handler is currently handling an invocation.
getQueue(String) - Method in interface org.jpu.patterns.serviceLocator.IQueueLocator
 
getQueue(String, Class) - Method in interface org.jpu.patterns.serviceLocator.IQueueLocator
 
getQueue(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.IQueueLocator
 
getQueue(String) - Method in class org.jpu.patterns.serviceLocator.QueueLocator
 
getQueue(String, Class) - Method in class org.jpu.patterns.serviceLocator.QueueLocator
 
getQueue(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.QueueLocator
 
getQueueCF(String) - Method in interface org.jpu.patterns.serviceLocator.IQueueCFLocator
 
getQueueCF(String, Class) - Method in interface org.jpu.patterns.serviceLocator.IQueueCFLocator
 
getQueueCF(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.IQueueCFLocator
 
getQueueCF(String) - Method in class org.jpu.patterns.serviceLocator.QueueCFLocator
 
getQueueCF(String, Class) - Method in class org.jpu.patterns.serviceLocator.QueueCFLocator
 
getQueueCF(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.QueueCFLocator
 
getSLSB(String) - Method in interface org.jpu.patterns.serviceLocator.ISLSBLocator
 
getSLSB(String, Class) - Method in interface org.jpu.patterns.serviceLocator.ISLSBLocator
 
getSLSB(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.ISLSBLocator
 
getSLSB(String) - Method in class org.jpu.patterns.serviceLocator.SLSBLocator
Alias for "getSLSB(homeNamingIdentifier, (ServiceLocatorOptions)null)".
getSLSB(String, Class) - Method in class org.jpu.patterns.serviceLocator.SLSBLocator
Alias for "getObject(homeNamingIdentifier, c)".
getSLSB(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.SLSBLocator
Alias for "getObject(homeNamingIdentifier, options)".
getSourceClasses() - Method in class org.jpu.patterns.common.CopyOptions
 
getSynchronized() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Returns whether the factory synchronizes on a IReentrantLock to protect shared data structures.
getSynchronized() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
getThrowExc() - Method in class org.jpu.patterns.factory.FactoryOptions
Returns the 'throwExc' attribute.
getTopic(String) - Method in interface org.jpu.patterns.serviceLocator.ITopicLocator
 
getTopic(String, Class) - Method in interface org.jpu.patterns.serviceLocator.ITopicLocator
 
getTopic(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.ITopicLocator
 
getTopic(String) - Method in class org.jpu.patterns.serviceLocator.TopicLocator
 
getTopic(String, Class) - Method in class org.jpu.patterns.serviceLocator.TopicLocator
 
getTopic(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.TopicLocator
 
getTopicCF(String) - Method in interface org.jpu.patterns.serviceLocator.ITopicCFLocator
 
getTopicCF(String, Class) - Method in interface org.jpu.patterns.serviceLocator.ITopicCFLocator
 
getTopicCF(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.ITopicCFLocator
 
getTopicCF(String) - Method in class org.jpu.patterns.serviceLocator.TopicCFLocator
 
getTopicCF(String, Class) - Method in class org.jpu.patterns.serviceLocator.TopicCFLocator
 
getTopicCF(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.TopicCFLocator
 
getUnmatchedAttributes() - Method in class org.jpu.patterns.common.CopyOptions
 
getUserData() - Method in class org.jpu.patterns.factory.FactoryOptions
Returns the 'userData' attribute.
getUserData() - Method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
getUserTransaction(String) - Method in interface org.jpu.patterns.serviceLocator.IUserTransactionLocator
 
getUserTransaction(String, Class) - Method in interface org.jpu.patterns.serviceLocator.IUserTransactionLocator
 
getUserTransaction(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.IUserTransactionLocator
 
getUserTransaction(String) - Method in class org.jpu.patterns.serviceLocator.UserTransactionLocator
 
getUserTransaction(String, Class) - Method in class org.jpu.patterns.serviceLocator.UserTransactionLocator
 
getUserTransaction(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.UserTransactionLocator
 
getXAQueueCF(String) - Method in interface org.jpu.patterns.serviceLocator.IXAQueueCFLocator
 
getXAQueueCF(String, Class) - Method in interface org.jpu.patterns.serviceLocator.IXAQueueCFLocator
 
getXAQueueCF(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.IXAQueueCFLocator
 
getXAQueueCF(String) - Method in class org.jpu.patterns.serviceLocator.XAQueueCFLocator
 
getXAQueueCF(String, Class) - Method in class org.jpu.patterns.serviceLocator.XAQueueCFLocator
 
getXAQueueCF(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.XAQueueCFLocator
 

H

HardCodedAccountImpl - class org.jpu.patterns.proxy.test.HardCodedAccountImpl.
 
HardCodedAccountImpl() - Constructor for class org.jpu.patterns.proxy.test.HardCodedAccountImpl
 
HomeLocator - class org.jpu.patterns.serviceLocator.HomeLocator.
Subclass of Locator specialized for EJBHome's.
HomeLocator() - Constructor for class org.jpu.patterns.serviceLocator.HomeLocator
 
HomeLocator - class org.jpu.patterns.serviceLocator.onePerContext.HomeLocator.
Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.
HomeLocator() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.HomeLocator
 

I

IContext - interface org.jpu.patterns.singleton.onePerContext.IContext.
Interface that can optionally be implemented by a context for use with the OnePerContextManager facility.
IDataSourceLocator - interface org.jpu.patterns.serviceLocator.IDataSourceLocator.
 
IHomeLocator - interface org.jpu.patterns.serviceLocator.IHomeLocator.
 
ILocator - interface org.jpu.patterns.serviceLocator.ILocator.
Base class for all the locators in this package.
ILocator.ICache - interface org.jpu.patterns.serviceLocator.ILocator.ICache.
Defines the interface that the cache must fulfill.
ILocator.IIdentifierParser - interface org.jpu.patterns.serviceLocator.ILocator.IIdentifierParser.
 
ILocator.ILookupStrategy - interface org.jpu.patterns.serviceLocator.ILocator.ILookupStrategy.
Defines the interface for strategies that perform the actual lookup of objects (usually but not necessarily using JNDI).
ILocator.INarrowStrategy - interface org.jpu.patterns.serviceLocator.ILocator.INarrowStrategy.
Defines the interface for strategies that narrow objects.
INSTANTIATOR - Static variable in interface org.jpu.patterns.factory.IPrototypeFactory.IInitializer
 
IOnePerContext - interface org.jpu.patterns.singleton.onePerContext.IOnePerContext.
Interface that may optionally be implemented by one-per-context classes.
IOnePerContextManager - interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.
Interface implemented by the OnePerContextManager class.
IOnePerContextManager.IInitializer - interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInitializer.
Interface to be implemented by classes that are registered as initializers via IOnePerContextManager.addInitializer(int, org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInitializer).
IOnePerContextManager.IInstantiator - interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInstantiator.
Interface to be implemented by classes that are registered as instantiators via IOnePerContextManager.setInstantiator(org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInstantiator).
IPrototypeFactory - interface org.jpu.patterns.factory.IPrototypeFactory.
Interface for classes that provide general-purpose functionality commonly needed by prototype-based factories, especially those that need to be initialized from an external configuration source such as a properties or XML file.
IPrototypeFactory.IConfigStrategy - interface org.jpu.patterns.factory.IPrototypeFactory.IConfigStrategy.
Defines the interface to the factory's configurator.
IPrototypeFactory.IInitializer - interface org.jpu.patterns.factory.IPrototypeFactory.IInitializer.
Interface to be implemented by classes that are registered as initializers via IPrototypeFactory.addInitializer(int, org.jpu.patterns.factory.IPrototypeFactory.IInitializer).
IPrototypeFactory.IInstantiator - interface org.jpu.patterns.factory.IPrototypeFactory.IInstantiator.
Interface to be implemented by a class to which object creation should be delegated.
IPrototypeFactory.IPrototypeReference - interface org.jpu.patterns.factory.IPrototypeFactory.IPrototypeReference.
 
IProxyBean - interface org.jpu.patterns.proxy.IProxyBean.
This interface can optionally be implemented by a proxy that is backed by ProxyBean.
IQueueCFLocator - interface org.jpu.patterns.serviceLocator.IQueueCFLocator.
 
IQueueLocator - interface org.jpu.patterns.serviceLocator.IQueueLocator.
 
IReentrantLock - interface org.jpu.patterns.common.IReentrantLock.
 
ISLSBLocator - interface org.jpu.patterns.serviceLocator.ISLSBLocator.
 
ITopicCFLocator - interface org.jpu.patterns.serviceLocator.ITopicCFLocator.
 
ITopicLocator - interface org.jpu.patterns.serviceLocator.ITopicLocator.
 
IUserTransactionLocator - interface org.jpu.patterns.serviceLocator.IUserTransactionLocator.
 
IXAQueueCFLocator - interface org.jpu.patterns.serviceLocator.IXAQueueCFLocator.
 
IllegalMethodException - exception org.jpu.patterns.proxy.IllegalMethodException.
 
IllegalMethodException() - Constructor for class org.jpu.patterns.proxy.IllegalMethodException
 
IllegalMethodException(Throwable) - Constructor for class org.jpu.patterns.proxy.IllegalMethodException
 
IllegalMethodException(String, Throwable) - Constructor for class org.jpu.patterns.proxy.IllegalMethodException
 
IllegalMethodException(String) - Constructor for class org.jpu.patterns.proxy.IllegalMethodException
 
InvalidIdentifierException - exception org.jpu.patterns.serviceLocator.InvalidIdentifierException.
 
InvalidIdentifierException() - Constructor for class org.jpu.patterns.serviceLocator.InvalidIdentifierException
 
InvalidIdentifierException(Throwable) - Constructor for class org.jpu.patterns.serviceLocator.InvalidIdentifierException
 
InvalidIdentifierException(String, Throwable) - Constructor for class org.jpu.patterns.serviceLocator.InvalidIdentifierException
 
InvalidIdentifierException(String) - Constructor for class org.jpu.patterns.serviceLocator.InvalidIdentifierException
 
ignoreNulls - Variable in class org.jpu.patterns.common.CopyOptions
 
includeDestSuperclassAttributes - Variable in class org.jpu.patterns.common.CopyOptions
 
includeSourceSuperclassAttributes - Variable in class org.jpu.patterns.common.CopyOptions
 
initOnePerContext(Object) - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContext
This method is called just after the no-arg constructor is invoked to construct a OnePerContext instance.
initialize(IPrototypeFactory, Object, int, FactoryOptions) - Method in interface org.jpu.patterns.factory.IPrototypeFactory.IInitializer
Called immediately after an object has been instantiated, either for the client or for the factory's use internally as a prototype.
initialize(IOnePerContextManager, Object) - Method in interface org.jpu.patterns.singleton.onePerContext.IContext
 
initialize(OnePerContextManager, Object, Object) - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInitializer
 
initialize(IOnePerContextManager, Object) - Method in class org.jpu.patterns.singleton.onePerContext.SimpleContext
 
initializePrototype(Object, int, FactoryOptions) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Calls all initializers registered with the factory in order.
initializePrototype(Object, int, FactoryOptions) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
initializeProxy(Object) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Default implementation does nothing, but subclasses can override to perform any sort of initialization on a newly-generated proxy instance.
interfaceMethod - Variable in class org.jpu.patterns.proxy.JPUInvocationHandler.DelegationState
 
invoke(Object, Method, Object[]) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Method required by the InvocationHandler interface.
invoke(Object, Method, Object[]) - Method in class org.jpu.patterns.proxy.test.ProxyAccountImpl
 
isAttributeChanged(String) - Method in interface org.jpu.patterns.proxy.IProxyBean
 
isAttributeChanged(String) - Method in class org.jpu.patterns.proxy.ProxyBean
Convenience alias for "getChangedAttributes().contains(attributeName)".
isBooleanGetter - Variable in class org.jpu.patterns.common.JPUBeanUtils.MethodDescriptor
 
isTypeAllowed(Class) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Returns the set types allowable for prototypes held by this factory.
isTypeAllowed(Class) - Method in class org.jpu.patterns.factory.PrototypeFactory
 

J

JPUBeanUtils - class org.jpu.patterns.common.JPUBeanUtils.
Public static methods for manipulating beans.
JPUBeanUtils() - Constructor for class org.jpu.patterns.common.JPUBeanUtils
 
JPUBeanUtils.MethodDescriptor - class org.jpu.patterns.common.JPUBeanUtils.MethodDescriptor.
 
JPUBeanUtils.MethodDescriptor() - Constructor for class org.jpu.patterns.common.JPUBeanUtils.MethodDescriptor
 
JPUClassUtils - class org.jpu.patterns.common.JPUClassUtils.
 
JPUClassUtils() - Constructor for class org.jpu.patterns.common.JPUClassUtils
 
JPUClassUtils.IsAssignable - class org.jpu.patterns.common.JPUClassUtils.IsAssignable.
 
JPUClassUtils.IsAssignable(Class) - Constructor for class org.jpu.patterns.common.JPUClassUtils.IsAssignable
 
JPUInvocationHandler - class org.jpu.patterns.proxy.JPUInvocationHandler.
This class is designed to make writing InvocationHandler's easier and less error-prone, as well as to facilitate more efficient delegation and a more natural inheritance-based delegation model.
JPUInvocationHandler() - Constructor for class org.jpu.patterns.proxy.JPUInvocationHandler
 
JPUInvocationHandler.DelegationCacheValue - class org.jpu.patterns.proxy.JPUInvocationHandler.DelegationCacheValue.
Defines entries in the self-delegation cache.
JPUInvocationHandler.DelegationCacheValue() - Constructor for class org.jpu.patterns.proxy.JPUInvocationHandler.DelegationCacheValue
 
JPUInvocationHandler.DelegationState - class org.jpu.patterns.proxy.JPUInvocationHandler.DelegationState.
 
JPUInvocationHandler.DelegationState(Object, Method, Object, JPUInvocationHandler.DelegationState) - Constructor for class org.jpu.patterns.proxy.JPUInvocationHandler.DelegationState
 
JPUObjectUtils - class org.jpu.patterns.common.JPUObjectUtils.
 
JPUProxyAccountImpl - class org.jpu.patterns.proxy.test.JPUProxyAccountImpl.
 
JPUProxyAccountImpl() - Constructor for class org.jpu.patterns.proxy.test.JPUProxyAccountImpl
 
JPUStringUtils - class org.jpu.patterns.common.JPUStringUtils.
 

L

Locator - class org.jpu.patterns.serviceLocator.Locator.
Implementation of the ILocator interface.
Locator() - Constructor for class org.jpu.patterns.serviceLocator.Locator
 
Locator.DefaultIdentifierParser - class org.jpu.patterns.serviceLocator.Locator.DefaultIdentifierParser.
 
Locator.DefaultIdentifierParser(String, Properties) - Constructor for class org.jpu.patterns.serviceLocator.Locator.DefaultIdentifierParser
 
Locator.DefaultLookupStrategy - class org.jpu.patterns.serviceLocator.Locator.DefaultLookupStrategy.
Simple lookup strategy implementation based on "new InitialContext(System.getProperties()).lookup()".
Locator.DefaultLookupStrategy(Locator) - Constructor for class org.jpu.patterns.serviceLocator.Locator.DefaultLookupStrategy
 
Locator.DefaultNarrowStrategy - class org.jpu.patterns.serviceLocator.Locator.DefaultNarrowStrategy.
Simple narrow strategy implementation based on "PortableRemoteObject.narrow()".
Locator.DefaultNarrowStrategy() - Constructor for class org.jpu.patterns.serviceLocator.Locator.DefaultNarrowStrategy
 
Locator.NullCache - class org.jpu.patterns.serviceLocator.Locator.NullCache.
Simple cache implementation based on HashMap.
Locator.NullCache() - Constructor for class org.jpu.patterns.serviceLocator.Locator.NullCache
 
lock() - Method in interface org.jpu.patterns.common.IReentrantLock
 
lock() - Method in class org.jpu.patterns.common.ReentrantLock
Acquires the lock.
lock() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
If IPrototypeFactory.getSynchronized() returns false this method does nothing; else it acquires the lock returned by IPrototypeFactory.getLock().
lock() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
logErrorIfConfigurationUnavailable() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
Returns whether an error is logged if the default configuration value is unavailable and the fallback is used in its place.
lookup(String, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.ILocator.ILookupStrategy
Looks up the object with the given name and returns it, or throws an exception if it can't be found.
lookup(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultLookupStrategy
 
lookup(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.Locator
Simply calls "getLookupStrategy().lookup(namingIdentifier, options)".
lookup(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.SLSBLocator
Overrides the superclass version to create the SLSB from its remote interface.
lookup(String, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.BogusLookupStrategy
 
lookup - class org.jpu.patterns.serviceLocator.test.lookup.
 
lookup() - Constructor for class org.jpu.patterns.serviceLocator.test.lookup
 

M

main(String[]) - Static method in class org.jpu.patterns.proxy.test.ProxyBeanTest
 
main(String[]) - Static method in class org.jpu.patterns.serviceLocator.onePerContext.test.opctest
 
main(String[]) - Static method in class org.jpu.patterns.serviceLocator.test.lookup
 
main(String[]) - Static method in class org.jpu.patterns.singleton.onePerContext.test.Foo
 
makeNew(FactoryOptions) - Static method in class org.jpu.patterns.factory.FactoryOptions
 
makeNew(ServiceLocatorOptions) - Static method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 

N

NEW_INSTANCE - Static variable in interface org.jpu.patterns.factory.IPrototypeFactory.IInitializer
 
NoSuchPrototypeException - exception org.jpu.patterns.factory.NoSuchPrototypeException.
Thrown by IPrototypeFactory to indicate that the requested prototype was not found.
NoSuchPrototypeException() - Constructor for class org.jpu.patterns.factory.NoSuchPrototypeException
 
NoSuchPrototypeException(Throwable) - Constructor for class org.jpu.patterns.factory.NoSuchPrototypeException
 
NoSuchPrototypeException(String, Throwable) - Constructor for class org.jpu.patterns.factory.NoSuchPrototypeException
 
NoSuchPrototypeException(String) - Constructor for class org.jpu.patterns.factory.NoSuchPrototypeException
 
narrow(Object, Class) - Method in interface org.jpu.patterns.serviceLocator.ILocator.INarrowStrategy
Narrows the given object to the given type.
narrow(Object, ServiceLocatorOptions) - Method in interface org.jpu.patterns.serviceLocator.ILocator
If options.castTo is not null, call Locator.narrow(Object,Class) variant to narrow the given object to this type and return the result; else if ILocator.getDefaultCast() is not null, call Locator.narrow(Object,Class) variant to narrow to this type and return the result; else return the original object passed via "o".
narrow(Object, Class) - Method in interface org.jpu.patterns.serviceLocator.ILocator
Simply calls "getNarrowStrategy().narrow(o, c)".
narrow(Object, Class) - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultNarrowStrategy
 
narrow(Object, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.Locator
 
narrow(Object, Class) - Method in class org.jpu.patterns.serviceLocator.Locator
 
narrowSLSBHome(Object, ServiceLocatorOptions) - Method in class org.jpu.patterns.serviceLocator.SLSBLocator
Narrows the reference to the given home to the appropriate type.
newCache() - Method in interface org.jpu.patterns.serviceLocator.ILocator
By default instantiates a Locator.NullCache, but subclasses can override to supply their own cache implementation.
newCache() - Method in class org.jpu.patterns.serviceLocator.Locator
 
newConfigStrategy() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Creates a new IPrototypeFactory.IConfigStrategy.
newConfigStrategy() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
newIdentifier(String, Properties) - Method in class org.jpu.patterns.serviceLocator.Locator
 
newInstance(Class, FactoryOptions) - Method in class org.jpu.patterns.factory.PrototypeFactory
Creates a new instance of the given class.
newInstance(IOnePerContextManager) - Method in interface org.jpu.patterns.singleton.onePerContext.IContext
 
newInstance(IOnePerContextManager, Object) - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInstantiator
 
newInstance(IOnePerContextManager, Object) - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager.DefaultInstantiator
 
newInstance(IOnePerContextManager) - Method in class org.jpu.patterns.singleton.onePerContext.SimpleContext
 
newLookupStrategy() - Method in interface org.jpu.patterns.serviceLocator.ILocator
By default instantiates a Locator.DefaultLookupStrategy, but subclasses can override to supply their own ILocator.ILookupStrategy implementation.
newLookupStrategy() - Method in class org.jpu.patterns.serviceLocator.Locator
 
newNarrowStrategy() - Method in interface org.jpu.patterns.serviceLocator.ILocator
By default instantiates a Locator.DefaultNarrowStrategy, but subclasses can override to supply their own ILocator.INarrowStrategy implementation.
newNarrowStrategy() - Method in class org.jpu.patterns.serviceLocator.Locator
 
newObject(Class, FactoryOptions) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
 
newObject(Class) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
 
newObject(Object, FactoryOptions) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
 
newObject(Object) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
 
newObject(Class, FactoryOptions) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
newObject(Class) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
newObject(Object) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
newObject(Object, FactoryOptions) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
newProxy() - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Convenience alias for "newProxy(null)".
newProxy(Class[]) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Convenience alias for "newProxy(moreClasses, null)".
newProxy(Class[], ClassLoader) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Uses Proxy.newProxyInstance() to generate a proxy instance backed by this invocation handler.
noCache - Variable in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 

O

OTHER - Static variable in class org.jpu.patterns.common.JPUBeanUtils.MethodDescriptor
 
OnePerContextManager - class org.jpu.patterns.singleton.onePerContext.OnePerContextManager.
This class and its associated interfaces implement a pattern that is a variant of Singleton intended for situations where you need one instance of the class per "context", rather than one per classloader as is the case with traditional singletons.
OnePerContextManager(Class) - Constructor for class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
Alias for "OnePerContextManager(onePerContextClass, false)".
OnePerContextManager(Class, boolean) - Constructor for class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
Constructor.
OnePerContextManager.DefaultInstantiator - class org.jpu.patterns.singleton.onePerContext.OnePerContextManager.DefaultInstantiator.
Default implementation of IOnePerContextManager.IInstantiator.
OnePerContextManager.DefaultInstantiator() - Constructor for class org.jpu.patterns.singleton.onePerContext.OnePerContextManager.DefaultInstantiator
 
okayToClone(Object) - Method in class org.jpu.patterns.factory.PrototypeFactory
By default returns false, but subclasses may override.
opctest - class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.
 
opctest() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.test.opctest
 
opctest.BogusHome - class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.BogusHome.
 
opctest.BogusHome() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.BogusHome
 
opctest.BogusLookupStrategy - class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.BogusLookupStrategy.
 
opctest.BogusLookupStrategy(Locator) - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.BogusLookupStrategy
 
opctest.MyCtx - class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.MyCtx.
 
opctest.MyCtx(String) - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.MyCtx
 
org.jpu.patterns.common - package org.jpu.patterns.common
Generic utilities used within JPatternUtils.
org.jpu.patterns.factory - package org.jpu.patterns.factory
Factory-related utilities.
org.jpu.patterns.proxy - package org.jpu.patterns.proxy
Proxy-related utilities.
org.jpu.patterns.proxy.test - package org.jpu.patterns.proxy.test
Code to test the jpu.patterns.proxy package.
org.jpu.patterns.serviceLocator - package org.jpu.patterns.serviceLocator
Utilities related to the Service Locator pattern.
org.jpu.patterns.serviceLocator.onePerContext - package org.jpu.patterns.serviceLocator.onePerContext
OnePerContextManager-based subclasses of the locators defined in org.jpu.patterns.serviceLocator.
org.jpu.patterns.serviceLocator.onePerContext.test - package org.jpu.patterns.serviceLocator.onePerContext.test
 
org.jpu.patterns.serviceLocator.test - package org.jpu.patterns.serviceLocator.test
 
org.jpu.patterns.singleton.onePerContext - package org.jpu.patterns.singleton.onePerContext
Utilities related to the "OnePerContext" variant of Singleton.
org.jpu.patterns.singleton.onePerContext.test - package org.jpu.patterns.singleton.onePerContext.test
 
org.jpu.patterns.transferObject - package org.jpu.patterns.transferObject
Utilities related to the Transfer Object pattern.

P

PropertyFactoryConfigStrategy - class org.jpu.patterns.factory.PropertyFactoryConfigStrategy.
Implementation of IPrototypeFactory.IConfigStrategy for property-file-based configuration.
PropertyFactoryConfigStrategy(IPrototypeFactory) - Constructor for class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
 
PrototypeFactory - class org.jpu.patterns.factory.PrototypeFactory.
Implementation of IPrototypeFactory.
PrototypeFactory() - Constructor for class org.jpu.patterns.factory.PrototypeFactory
 
PrototypeFactoryException - exception org.jpu.patterns.factory.PrototypeFactoryException.
Base class for all checked exceptions thrown by IPrototypeFactory.
PrototypeFactoryException() - Constructor for class org.jpu.patterns.factory.PrototypeFactoryException
 
PrototypeFactoryException(Throwable) - Constructor for class org.jpu.patterns.factory.PrototypeFactoryException
 
PrototypeFactoryException(String, Throwable) - Constructor for class org.jpu.patterns.factory.PrototypeFactoryException
 
PrototypeFactoryException(String) - Constructor for class org.jpu.patterns.factory.PrototypeFactoryException
 
PrototypeFactoryRuntimeException - exception org.jpu.patterns.factory.PrototypeFactoryRuntimeException.
 
PrototypeFactoryRuntimeException() - Constructor for class org.jpu.patterns.factory.PrototypeFactoryRuntimeException
 
PrototypeFactoryRuntimeException(Throwable) - Constructor for class org.jpu.patterns.factory.PrototypeFactoryRuntimeException
 
PrototypeFactoryRuntimeException(String, Throwable) - Constructor for class org.jpu.patterns.factory.PrototypeFactoryRuntimeException
 
PrototypeFactoryRuntimeException(String) - Constructor for class org.jpu.patterns.factory.PrototypeFactoryRuntimeException
 
ProxyAccountImpl - class org.jpu.patterns.proxy.test.ProxyAccountImpl.
 
ProxyAccountImpl() - Constructor for class org.jpu.patterns.proxy.test.ProxyAccountImpl
 
ProxyBean - class org.jpu.patterns.proxy.ProxyBean.
Change-tracking invocation handler intended for use in implementing JavaBean's that are referenced through one or more interfaces.
ProxyBean() - Constructor for class org.jpu.patterns.proxy.ProxyBean
 
ProxyBeanTest - class org.jpu.patterns.proxy.test.ProxyBeanTest.
 
ProxyBeanTest() - Constructor for class org.jpu.patterns.proxy.test.ProxyBeanTest
 
ProxyTransferObject - class org.jpu.patterns.transferObject.ProxyTransferObject.
 
ProxyTransferObject() - Constructor for class org.jpu.patterns.transferObject.ProxyTransferObject
 
parent - Variable in class org.jpu.patterns.proxy.JPUInvocationHandler.DelegationState
 
prepareKeyForLookup(Object) - Method in class org.jpu.patterns.factory.PrototypeFactory
Changes the given key to a String for lookup.
preserveInsertionOrder() - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Retruns whether prototype insertion order is preserved and thus avaiable for later retrieval via IPrototypeFactory.getPrototypeKeysInInsertionOrder().
preserveInsertionOrder() - Method in class org.jpu.patterns.factory.PrototypeFactory
 
processOneConfigProtoDef(String) - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
Processes a single prototype declaration.
prototypeExists(Object) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Returns whether a prototype is currently keyed under the given name.
prototypeExists(Object) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
proxy - Variable in class org.jpu.patterns.proxy.JPUInvocationHandler.DelegationState
 
put(String, Object) - Method in interface org.jpu.patterns.serviceLocator.ILocator.ICache
 
put(String, Object) - Method in class org.jpu.patterns.serviceLocator.Locator.NullCache
 
putPrototype(Object) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Convenience alias for "putPrototype( obj, (Object[])null )".
putPrototype(Object, Object) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Convenience alias for "putPrototype( obj, new Object[] { oneAlias } )".
putPrototype(Object, Object[]) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Enters the given object into the factory as a prototype.
putPrototype(Object) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
putPrototype(Object, Object) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
putPrototype(Object, Object[]) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
putPrototypeToMap(Object, Object) - Method in class org.jpu.patterns.factory.PrototypeFactory
 

Q

QueueCFLocator - class org.jpu.patterns.serviceLocator.QueueCFLocator.
Subclass of Locator specialized for QueueConnectionFactory's.
QueueCFLocator() - Constructor for class org.jpu.patterns.serviceLocator.QueueCFLocator
 
QueueCFLocator - class org.jpu.patterns.serviceLocator.onePerContext.QueueCFLocator.
Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.
QueueCFLocator() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.QueueCFLocator
 
QueueLocator - class org.jpu.patterns.serviceLocator.QueueLocator.
Subclass of Locator specialized for Queue's.
QueueLocator() - Constructor for class org.jpu.patterns.serviceLocator.QueueLocator
 
QueueLocator - class org.jpu.patterns.serviceLocator.onePerContext.QueueLocator.
Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.
QueueLocator() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.QueueLocator
 

R

ReentrantLock - class org.jpu.patterns.common.ReentrantLock.
 
ReentrantLock() - Constructor for class org.jpu.patterns.common.ReentrantLock
Default constructor.
reconfigureIfNecessary() - Method in interface org.jpu.patterns.factory.IPrototypeFactory.IConfigStrategy
 
reconfigureIfNecessary() - Method in class org.jpu.patterns.factory.PropertyFactoryConfigStrategy
 
remove(String) - Method in interface org.jpu.patterns.serviceLocator.ILocator.ICache
 
remove(String) - Method in class org.jpu.patterns.serviceLocator.Locator.NullCache
 
removeFromCache(String) - Method in interface org.jpu.patterns.serviceLocator.ILocator
Removes the object with the specified JNDI name from the cache.
removeFromCache(String) - Method in class org.jpu.patterns.serviceLocator.Locator
 
removeInitializer(int) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Removes the given initializer at position "i".
removeInitializer(IPrototypeFactory.IInitializer) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Removes the given initializer.
removeInitializer(int) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
removeInitializer(IPrototypeFactory.IInitializer) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
removeInitializer(int) - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
Removes the given initializer at position "i".
removeInitializer(IOnePerContextManager.IInitializer) - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
Removes the given initializer.
removeInitializer(int) - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
removeInitializer(IOnePerContextManager.IInitializer) - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
resetCacheCounters() - Static method in class org.jpu.patterns.common.JPUBeanUtils
 
resetCacheCounters() - Static method in class org.jpu.patterns.proxy.JPUInvocationHandler
Resets the counters used to measure the hit and miss rate of the self-delegation cache.
rethrow(Object, Method, Object[], Throwable) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Rethrows exceptions thrown from JPUInvocationHandler.doInvoke(Object,Method,Object[],Object[]).
rethrowSafely(Throwable, Class[]) - Static method in class org.jpu.patterns.common.JPUClassUtils
Rethrows the given Throwable in a manner designed to avoid UndeclaredThrowableException's.

S

SETTER - Static variable in class org.jpu.patterns.common.JPUBeanUtils.MethodDescriptor
 
SLSBLocator - class org.jpu.patterns.serviceLocator.SLSBLocator.
Subclass of Locator specialized for stateless session beans.
SLSBLocator() - Constructor for class org.jpu.patterns.serviceLocator.SLSBLocator
 
SLSBLocator - class org.jpu.patterns.serviceLocator.onePerContext.SLSBLocator.
Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.
SLSBLocator() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.SLSBLocator
 
SLSBLocatorOptions - class org.jpu.patterns.serviceLocator.SLSBLocatorOptions.
Specialization of ServiceLocatorOptions for use with SLSBLocator.
SLSBLocatorOptions() - Constructor for class org.jpu.patterns.serviceLocator.SLSBLocatorOptions
 
ServiceLocatorException - exception org.jpu.patterns.serviceLocator.ServiceLocatorException.
 
ServiceLocatorException() - Constructor for class org.jpu.patterns.serviceLocator.ServiceLocatorException
 
ServiceLocatorException(Throwable) - Constructor for class org.jpu.patterns.serviceLocator.ServiceLocatorException
 
ServiceLocatorException(String, Throwable) - Constructor for class org.jpu.patterns.serviceLocator.ServiceLocatorException
 
ServiceLocatorException(String) - Constructor for class org.jpu.patterns.serviceLocator.ServiceLocatorException
 
ServiceLocatorOptions - class org.jpu.patterns.serviceLocator.ServiceLocatorOptions.
Contains various options that the client can set when calling the finder methods of Locator or its subclasses.
ServiceLocatorOptions() - Constructor for class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
ServiceLocatorRuntimeException - exception org.jpu.patterns.serviceLocator.ServiceLocatorRuntimeException.
 
ServiceLocatorRuntimeException() - Constructor for class org.jpu.patterns.serviceLocator.ServiceLocatorRuntimeException
 
ServiceLocatorRuntimeException(Throwable) - Constructor for class org.jpu.patterns.serviceLocator.ServiceLocatorRuntimeException
 
ServiceLocatorRuntimeException(String, Throwable) - Constructor for class org.jpu.patterns.serviceLocator.ServiceLocatorRuntimeException
 
ServiceLocatorRuntimeException(String) - Constructor for class org.jpu.patterns.serviceLocator.ServiceLocatorRuntimeException
 
SimpleContext - class org.jpu.patterns.singleton.onePerContext.SimpleContext.
 
SimpleContext() - Constructor for class org.jpu.patterns.singleton.onePerContext.SimpleContext
 
setAttribute(JPUBeanUtils.MethodDescriptor, Object[]) - Method in class org.jpu.patterns.proxy.ProxyBean
 
setAttributesToCopy(Set) - Method in class org.jpu.patterns.common.CopyOptions
 
setAttributesToIgnore(Set) - Method in class org.jpu.patterns.common.CopyOptions
 
setCache(ILocator.ICache) - Method in interface org.jpu.patterns.serviceLocator.ILocator
Sets the cache, replacing the previous cache (and hence causing loss of previously cached objects).
setCache(ILocator.ICache) - Method in class org.jpu.patterns.serviceLocator.Locator
 
setCastHomeTo(Class) - Method in class org.jpu.patterns.serviceLocator.SLSBLocatorOptions
 
setCastTo(Class) - Method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
setChangedFlag(String) - Method in interface org.jpu.patterns.proxy.IProxyBean
 
setChangedFlag(String) - Method in class org.jpu.patterns.proxy.ProxyBean
Sets the changed flag for the named attribute.
setConfigStrategy(IPrototypeFactory.IConfigStrategy) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Causes this factory to use "strat" as its configuration strategy.
setConfigStrategy(IPrototypeFactory.IConfigStrategy) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
setCopy(boolean) - Method in class org.jpu.patterns.factory.FactoryOptions
 
setCtx(Object) - Static method in class org.jpu.patterns.singleton.onePerContext.test.Foo
 
setDelegationState(JPUInvocationHandler.DelegationState) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Sets the current self-delegation state to the given value.
setDestClasses(Class[]) - Method in class org.jpu.patterns.common.CopyOptions
 
setDontPopulateMap(boolean) - Method in class org.jpu.patterns.common.CopyOptions
 
setId(Integer) - Method in interface org.jpu.patterns.proxy.test.Account
 
setId(Integer) - Method in interface org.jpu.patterns.proxy.test.AccountBase
 
setId(Integer) - Method in class org.jpu.patterns.proxy.test.HardCodedAccountImpl
 
setIgnoreNulls(boolean) - Method in class org.jpu.patterns.common.CopyOptions
 
setIncludeDestSuperclassAttributes(boolean) - Method in class org.jpu.patterns.common.CopyOptions
 
setIncludeSourceSuperclassAttributes(boolean) - Method in class org.jpu.patterns.common.CopyOptions
 
setInstantiator(IOnePerContextManager.IInstantiator) - Method in interface org.jpu.patterns.singleton.onePerContext.IOnePerContextManager
Sets the IOnePerContextManager.IInstantiator to be used for instantiating One-Per-Context's.
setInstantiator(IOnePerContextManager.IInstantiator) - Method in class org.jpu.patterns.singleton.onePerContext.OnePerContextManager
 
setLock(IReentrantLock) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Sets the lock used for synchronizing on shared data structures.
setLock(IReentrantLock) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
setLookupCaseSensitive(boolean) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Sets the flag indicating whether lookup of prototypes is case sensitive or not.
setLookupCaseSensitive(boolean) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
setLookupStrategy(ILocator.ILookupStrategy) - Method in interface org.jpu.patterns.serviceLocator.ILocator
Sets the ILocator.ILookupStrategy, replacing the previous one.
setLookupStrategy(ILocator.ILookupStrategy) - Method in class org.jpu.patterns.serviceLocator.Locator
 
setName(String) - Method in class org.jpu.patterns.singleton.onePerContext.test.Foo
 
setNarrowStrategy(ILocator.INarrowStrategy) - Method in interface org.jpu.patterns.serviceLocator.ILocator
Sets the ILocator.INarrowStrategy, replacing the previous one.
setNarrowStrategy(ILocator.INarrowStrategy) - Method in class org.jpu.patterns.serviceLocator.Locator
 
setNoCache(boolean) - Method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
setSourceClasses(Class[]) - Method in class org.jpu.patterns.common.CopyOptions
 
setSynchronized(boolean) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
Sets the flag indiciating whether the factory synchronizes on a IReentrantLock to protect shared data structures.
setSynchronized(boolean) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
setThrowExc(boolean) - Method in class org.jpu.patterns.factory.FactoryOptions
Sets the 'throwExc' attribute to the given value.
setUnmatchedAttributes(Map) - Method in class org.jpu.patterns.common.CopyOptions
 
setUserData(Object[]) - Method in class org.jpu.patterns.factory.FactoryOptions
Sets the 'userData' attribute to the given value.
setUserData(Object[]) - Method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
sourceClasses - Variable in class org.jpu.patterns.common.CopyOptions
 
split(String, String) - Static method in class org.jpu.patterns.common.JPUStringUtils
Equivalent to split(str, delim, true).
split(String, String, boolean) - Static method in class org.jpu.patterns.common.JPUStringUtils
This method is like org.apache.commons.lang.StringUtils.split(), except for two differences: 1) Its return value is List instead of String[], and 2) it gives you the option of trimming each component before it is added to the list.
splitN(String, String, int, boolean) - Static method in class org.jpu.patterns.common.JPUStringUtils
Just like JPUStringUtils.split(String,String,boolean), except that only the leftmost "n-1" delimeted parts are split; the rest are left contiguous.

T

TopicCFLocator - class org.jpu.patterns.serviceLocator.TopicCFLocator.
Subclass of Locator specialized for TopicConnectionFactory's.
TopicCFLocator() - Constructor for class org.jpu.patterns.serviceLocator.TopicCFLocator
 
TopicCFLocator - class org.jpu.patterns.serviceLocator.onePerContext.TopicCFLocator.
Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.
TopicCFLocator() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.TopicCFLocator
 
TopicLocator - class org.jpu.patterns.serviceLocator.TopicLocator.
Subclass of Locator specialized for Topic's.
TopicLocator() - Constructor for class org.jpu.patterns.serviceLocator.TopicLocator
 
TopicLocator - class org.jpu.patterns.serviceLocator.onePerContext.TopicLocator.
Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.
TopicLocator() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.TopicLocator
 
TypeMismatchException - exception org.jpu.patterns.factory.TypeMismatchException.
 
TypeMismatchException() - Constructor for class org.jpu.patterns.factory.TypeMismatchException
 
TypeMismatchException(Throwable) - Constructor for class org.jpu.patterns.factory.TypeMismatchException
 
TypeMismatchException(String, Throwable) - Constructor for class org.jpu.patterns.factory.TypeMismatchException
 
TypeMismatchException(String) - Constructor for class org.jpu.patterns.factory.TypeMismatchException
 
target - Variable in class org.jpu.patterns.proxy.JPUInvocationHandler.DelegationState
 
targetMethod - Variable in class org.jpu.patterns.proxy.JPUInvocationHandler.DelegationCacheValue
 
throwExc - Variable in class org.jpu.patterns.factory.FactoryOptions
 
throwUnhandledException(Method) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Throws an unchecked exception indiciating that the given method was not handled by the invocation handler.
throwUnlistedException(Object, Method, Object[], Throwable) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
This method is called when an exception is thrown from JPUInvocationHandler.doInvoke(Object,Method,Object[],Object[]) that is an illegal checked exception for the interface method that was invoked; that is, the exception is not assignment compatible with any exception class listed in the interface method's throws clause.
toString() - Method in class org.jpu.patterns.common.ReentrantLock
 
toString() - Method in class org.jpu.patterns.factory.FactoryOptions
 
toString() - Method in class org.jpu.patterns.serviceLocator.Locator.DefaultIdentifierParser
 
toString() - Method in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 
toString() - Method in class org.jpu.patterns.serviceLocator.onePerContext.test.opctest.MyCtx
 
trackChanges() - Method in class org.jpu.patterns.proxy.ProxyBean
Returns whether changes are being tracked.
trackChanges() - Method in class org.jpu.patterns.proxy.test.AccountImpl
 
trimClasses(Class[], Object) - Static method in class org.jpu.patterns.common.JPUBeanUtils
 
tryLock() - Method in interface org.jpu.patterns.common.IReentrantLock
 
tryLock() - Method in class org.jpu.patterns.common.ReentrantLock
Acquires the lock only if it not held by another thread.
type - Variable in class org.jpu.patterns.common.JPUBeanUtils.MethodDescriptor
 

U

UnhandledMethodCallException - exception org.jpu.patterns.proxy.UnhandledMethodCallException.
 
UnhandledMethodCallException() - Constructor for class org.jpu.patterns.proxy.UnhandledMethodCallException
 
UnhandledMethodCallException(Throwable) - Constructor for class org.jpu.patterns.proxy.UnhandledMethodCallException
 
UnhandledMethodCallException(String, Throwable) - Constructor for class org.jpu.patterns.proxy.UnhandledMethodCallException
 
UnhandledMethodCallException(String) - Constructor for class org.jpu.patterns.proxy.UnhandledMethodCallException
 
UserTransactionLocator - class org.jpu.patterns.serviceLocator.UserTransactionLocator.
Subclass of Locator specialized for UserTransaction's.
UserTransactionLocator() - Constructor for class org.jpu.patterns.serviceLocator.UserTransactionLocator
 
UserTransactionLocator - class org.jpu.patterns.serviceLocator.onePerContext.UserTransactionLocator.
Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.
UserTransactionLocator() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.UserTransactionLocator
 
unlock() - Method in interface org.jpu.patterns.common.IReentrantLock
 
unlock() - Method in class org.jpu.patterns.common.ReentrantLock
Attempts to release this lock.
unlock(boolean) - Method in interface org.jpu.patterns.factory.IPrototypeFactory
If locked is true, calls "getLock().unlock()"; else does nothing.
unlock(boolean) - Method in class org.jpu.patterns.factory.PrototypeFactory
 
unmatchedAttributes - Variable in class org.jpu.patterns.common.CopyOptions
 
userdata - Variable in class org.jpu.patterns.factory.FactoryOptions
 
userdata - Variable in class org.jpu.patterns.serviceLocator.ServiceLocatorOptions
 

V

valueChanged(JPUBeanUtils.MethodDescriptor, Object, Object) - Method in class org.jpu.patterns.proxy.ProxyBean
Hook that is invoked if change tracking is enabled and the value of an attribute has changed as a result of a setter invocation.

W

wouldDelegationInfinitelyRecurse(JPUInvocationHandler.DelegationState, Object, Method) - Method in class org.jpu.patterns.proxy.JPUInvocationHandler
Internal method used to ensure that a delegation call would not result in infinite recursion.

X

XAQueueCFLocator - class org.jpu.patterns.serviceLocator.XAQueueCFLocator.
Subclass of Locator specialized for XAQueueConnectionFactory's.
XAQueueCFLocator() - Constructor for class org.jpu.patterns.serviceLocator.XAQueueCFLocator
 
XAQueueCFLocator - class org.jpu.patterns.serviceLocator.onePerContext.XAQueueCFLocator.
Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.
XAQueueCFLocator() - Constructor for class org.jpu.patterns.serviceLocator.onePerContext.XAQueueCFLocator
 

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

Copyright (c) 2001-2003 - Apache Software Foundation