|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
i".
i".
! getChangedAttributes().isEmpty()".
IPrototypeFactory.isTypeAllowed(Class) and throws TypeMismatchException if it returns false.
JPUBeanUtils.copy(java.lang.Object, java.lang.Object)
governing how the copying is performed.cloneObjectEfficiently(o, "clone")".
SerializationUtils.clone() (which is much
slower); if that fails, throws a
NestableRuntimeException holding the resulting exception.
copy(from, to, null)".
from" to "to"
giving the caller very precise control, via the "options" parameter,
over how the copying is to take place.
copyChangesTo(dest, null)".
dest using the given options.
copyTo(dest,null)".
dest" (which needn't be backed by a ProxyBean)
with the given CopyOptions using JPUBeanUtils.copy(java.lang.Object, java.lang.Object).
Locator specialized for DataSource's.org.jpu.patterns.serviceLocator
and adds OnePerContextManager support
along with associated public getInstance() methods.target".
delegateToMap(proxy, null, args, result)".
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).
JPUInvocationHandler.
JPUInvocationHandler.
IPrototypeFactory to pass options adjusting
its behavior.false) or
just for the creation of an initial prototype for later cloning (if true).
null
if that attribute is not present.
Map containing all the attributes managed by the underlying ProxyBean, keyed by
attribute name.
Map containing all the attributes.
JPUInvocationHandler.resetCacheCounters() was last called.
JPUInvocationHandler.resetCacheCounters() was last called.
ProxyBean.clearChangedFlags() (or since
the object's creation).
IPrototypeFactory.IConfigStrategy used to configure this
factory.
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.
ClassLoader to pass to the first parameter of Proxy.newInstance()
if null is passed as the second parameter to JPUInvocationHandler.newProxy(Class[], ClassLoader).
getDelegationTargetMethod( interfaceMethod, getClass() )".
null if no self-delegation is
in progress.
null if no such method exists.
IPrototypeFactory.IInitializer's.
IOnePerContextManager.IInitializer's.
IOnePerContextManager.IInstantiator used for instantiating One-Per-Context's.
ILocator.ILookupStrategy.
OnePerContextManager's.
classes"
array (or their superclasses or superinterfaces), keyed by corresponding attribute
name.
ILocator.INarrowStrategy.
getObject( namingIdentifier, new ServiceLocatorOptions().setCastTo(c) )".
getObject(namingIdentifier, (ServiceLocatorOptions)null)".
ReentrantLock.
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.
Map defining the mapping between prototype keys and their corresponding prototypes.
IPrototypeFactory.preserveInsertionOrder()),
returns the prototypes as an unmodifiable List in the order in which they were inserted; else
returns an empty unmodifiable List.
getSLSB(homeNamingIdentifier, (ServiceLocatorOptions)null)".
getObject(homeNamingIdentifier, c)".
getObject(homeNamingIdentifier, options)".
IReentrantLock to protect shared data structures.
Locator specialized for EJBHome's.org.jpu.patterns.serviceLocator
and adds OnePerContextManager support
along with associated public getInstance() methods.OnePerContextManager facility.OnePerContextManager class.IOnePerContextManager.addInitializer(int, org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInitializer).IOnePerContextManager.setInstantiator(org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInstantiator).IPrototypeFactory.addInitializer(int, org.jpu.patterns.factory.IPrototypeFactory.IInitializer).ProxyBean.OnePerContext instance.
InvocationHandler interface.
getChangedAttributes().contains(attributeName)".
InvocationHandler's easier and less error-prone, as well as to facilitate
more efficient delegation and a more natural inheritance-based delegation model.ILocator interface.new InitialContext(System.getProperties()).lookup()".PortableRemoteObject.narrow()".HashMap.IPrototypeFactory.getSynchronized() returns false this method does nothing; else it acquires
the lock returned by IPrototypeFactory.getLock().
getLookupStrategy().lookup(namingIdentifier, options)".
IPrototypeFactory to
indicate that the requested prototype was not found.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".
getNarrowStrategy().narrow(o, c)".
Locator.NullCache, but subclasses can
override to supply their own cache implementation.
IPrototypeFactory.IConfigStrategy.
Locator.DefaultLookupStrategy, but subclasses can
override to supply their own ILocator.ILookupStrategy implementation.
Locator.DefaultNarrowStrategy, but subclasses can
override to supply their own ILocator.INarrowStrategy implementation.
newProxy(null)".
newProxy(moreClasses, null)".
Proxy.newProxyInstance() to generate a proxy instance backed by this
invocation handler.
OnePerContextManager(onePerContextClass, false)".
IOnePerContextManager.IInstantiator.false, but subclasses may override.
jpu.patterns.proxy package.OnePerContextManager-based subclasses of the locators defined in org.jpu.patterns.serviceLocator.IPrototypeFactory.IConfigStrategy for property-file-based configuration.IPrototypeFactory.IPrototypeFactory.String for lookup.
IPrototypeFactory.getPrototypeKeysInInsertionOrder().
putPrototype( obj, (Object[])null )".
putPrototype( obj, new Object[] { oneAlias } )".
Locator specialized for QueueConnectionFactory's.org.jpu.patterns.serviceLocator
and adds OnePerContextManager support
along with associated public getInstance() methods.Locator specialized for Queue's.org.jpu.patterns.serviceLocator
and adds OnePerContextManager support
along with associated public getInstance() methods.i".
i".
JPUInvocationHandler.doInvoke(Object,Method,Object[],Object[]).
Throwable in a manner designed to avoid UndeclaredThrowableException's.
Locator specialized for stateless session beans.org.jpu.patterns.serviceLocator
and adds OnePerContextManager support
along with associated public getInstance() methods.ServiceLocatorOptions for use with SLSBLocator.Locator or its subclasses.strat" as its configuration strategy.
IOnePerContextManager.IInstantiator to be used for instantiating One-Per-Context's.
ILocator.ILookupStrategy, replacing the previous one.
ILocator.INarrowStrategy, replacing the previous one.
IReentrantLock to protect shared data structures.
split(str, delim, true).
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.
JPUStringUtils.split(String,String,boolean), except that only the leftmost
"n-1" delimeted parts are split; the rest are left contiguous.
Locator specialized for TopicConnectionFactory's.org.jpu.patterns.serviceLocator
and adds OnePerContextManager support
along with associated public getInstance() methods.Locator specialized for Topic's.org.jpu.patterns.serviceLocator
and adds OnePerContextManager support
along with associated public getInstance() methods.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.
Locator specialized for UserTransaction's.org.jpu.patterns.serviceLocator
and adds OnePerContextManager support
along with associated public getInstance() methods.locked is true, calls "getLock().unlock()"; else does nothing.
Locator specialized for XAQueueConnectionFactory's.org.jpu.patterns.serviceLocator
and adds OnePerContextManager support
along with associated public getInstance() methods.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||