A B C D E F G H I M N O P R S T U W

A

ALL_CLASSES - Static variable in class dynaop.Pointcuts
Picks all classes.
ALL_METHODS - Static variable in class dynaop.Pointcuts
Picks all methods.
ArrayObject - class dynaop.util.ArrayObject.
Implements hashCode() and equals() functionality for an array.
ArrayObject(Object) - Constructor for class dynaop.util.ArrayObject
Constructs a object for a given array.
Aspects - class dynaop.Aspects.
Collection of aspects.
Aspects() - Constructor for class dynaop.Aspects
 
addObserver(Observer) - Method in interface dynaop.observer.Subject
Adds an Observer.
addObserver(Observer) - Method in class dynaop.observer.SubjectMixin
 

B

BshAspects - class dynaop.bsh.BshAspects.
Executes BeanShell script on the classpath at "/dynaop.bsh".
BshAspects(URL) - Constructor for class dynaop.bsh.BshAspects
 
BshAspects() - Constructor for class dynaop.bsh.BshAspects
 
BshHelper - class dynaop.bsh.BshHelper.
Convenience methods for BeanShell configuration script.

C

Cache - class dynaop.util.Cache.
Cache with weak keys and soft values.
Cache(boolean) - Constructor for class dynaop.util.Cache
Creates cache.
Cache() - Constructor for class dynaop.util.Cache
Defaults to weak keys.
ClassPointcut - interface dynaop.ClassPointcut.
Picks classes.
Classes - class dynaop.util.Classes.
Class utilities.
Closure - interface dynaop.util.Closure.
Command that executes against a single argument.
ConfigurationException - exception dynaop.ConfigurationException.
Thrown in the event of a fatal proxy configuration error.
ConfigurationException(String) - Constructor for class dynaop.ConfigurationException
 
className(String) - Static method in class dynaop.Pointcuts
Matches class names with a regular expression.
clone(Object) - Static method in class dynaop.util.ArrayObject
Creates a defensive copy of an array.
commonLoader(Class[]) - Static method in class dynaop.util.Classes
Finds a ClassLoader for which all of the classes are visible.
commonLoader(Collection) - Static method in class dynaop.util.Classes
Finds a ClassLoader for which all of the classes are visible.
create(Proxy) - Method in interface dynaop.InterceptorFactory
Creates interceptor for specified proxy.
create(Proxy) - Method in interface dynaop.MixinFactory
Creates mixin for specified proxy.
create(URL, Class) - Method in class dynaop.remote.Home
Creates stub that connects to Service mapped to specified URL and implements the specified client interface.
create(Object) - Method in class dynaop.util.Cache
Creates value for key.
createArgument(Subject, Invocation, Object) - Method in class dynaop.observer.SubjectInterceptor
Creates argument that should be passed to observers.

D

Debug - class dynaop.Debug.
Tool for debugging proxy factory configurations.
Debug(PrintStream) - Constructor for class dynaop.Debug
 
Debug(OutputStream) - Constructor for class dynaop.Debug
 
Debug() - Constructor for class dynaop.Debug
Use System.out.
DispatchInterceptor - class dynaop.DispatchInterceptor.
Dispatches to method in interceptor with the same signature as the intercepted method.
DispatchInterceptor() - Constructor for class dynaop.DispatchInterceptor
 
declaringClass(ClassPointcut) - Static method in class dynaop.Pointcuts
Picks method if the given class pointcut picks the method's declaring class.
declaringClass(Object) - Method in class dynaop.bsh.BshHelper
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class dynaop.remote.Service
 
dynaop - package dynaop
Provides for proxy creation.
dynaop.bsh - package dynaop.bsh
Proxy factory implementations.
dynaop.observer - package dynaop.observer
Observer pattern (Design Patterns, GoF).
dynaop.remote - package dynaop.remote
Stateless remote method invocation framework.
dynaop.util - package dynaop.util
Utility classes.

E

EQUALS_METHOD - Static variable in class dynaop.util.Classes
 
equals(Object) - Method in class dynaop.DispatchInterceptor
 
equals(Object) - Method in class dynaop.util.ArrayObject
 
execute(Object) - Method in interface dynaop.util.Closure
 
extend(Class) - Method in class dynaop.ProxyFactory
Creates class proxy for the given target class.

F

forName(String) - Static method in class dynaop.util.Classes
Same as Class.forName(), except that it works for primitive types.

G

GET_METHODS - Static variable in class dynaop.Pointcuts
Picks getXxx() methods.
get(Object) - Method in class dynaop.util.Cache
Gets value for key.
getAllInterfaces(Class) - Static method in class dynaop.util.Classes
Gets all interfaces implemented by a given type and its super types.
getAllInterfacesAsList(Class) - Static method in class dynaop.util.Classes
Gets all interfaces implemented by a given type and its super types.
getArguments() - Method in interface dynaop.Invocation
Gets invocation arguments.
getClassLoader(Class) - Static method in class dynaop.util.Classes
Gets the class's loader.
getClassLoader() - Static method in class dynaop.util.Classes
Gets the context class loader or the system class loader if the context if null.
getHandle() - Method in interface dynaop.ProxyContext
Gets serializable proxy reference.
getInstance() - Static method in class dynaop.Aspects
Gets default instance. Defaults to BshAspects.
getInstance(Aspects) - Static method in class dynaop.ProxyFactory
Creates proxy factory instance configured using given aspects.
getInstance() - Static method in class dynaop.ProxyFactory
Gets default proxy factory instance. Uses default Aspects instance.
getInterceptorFactories(Method) - Method in interface dynaop.ProxyType
Gets interceptor factory chain for a method.
getInterceptors(Method) - Method in interface dynaop.ProxyContext
Gets interceptors assigned to method.
getInterfaces() - Method in interface dynaop.ProxyType
Gets interfaces the proxy implements.
getInvocation() - Method in class dynaop.DispatchInterceptor
Gets the invocation object.
getMessage() - Method in class dynaop.util.NestedException
 
getMethod() - Method in interface dynaop.Invocation
Gets invoked method.
getMethod() - Method in class dynaop.util.MethodHandle
 
getNested() - Method in class dynaop.util.NestedException
 
getProperties() - Method in interface dynaop.InterceptorFactory
Gets properties.
getProperties() - Method in interface dynaop.MixinFactory
Gets properties.
getProxy() - Method in interface dynaop.Handle
Gets referenced proxy.
getProxy() - Method in interface dynaop.Invocation
Gets proxy.
getProxyContext() - Method in interface dynaop.Proxy
Gets proxy context.
getProxyType(Class) - Static method in class dynaop.Debug
Gets immutable proxy type for specified class from default Aspects.
getProxyType(Aspects, Class) - Static method in class dynaop.Debug
Gets immutable proxy type for specified Aspects and class.
getProxyType() - Method in interface dynaop.ProxyContext
Gets ProxyType for this proxy.

H

HASHCODE_METHOD - Static variable in class dynaop.util.Classes
 
Handle - interface dynaop.Handle.
Serializable reference to a proxy.
Home - class dynaop.remote.Home.
Creates client stubs.
Home() - Constructor for class dynaop.remote.Home
 
handleMethodKeys(Map) - Static method in class dynaop.util.MethodHandle
 
hashCode() - Method in class dynaop.DispatchInterceptor
 
hashCode() - Method in class dynaop.util.ArrayObject
 

I

IS_METHODS - Static variable in class dynaop.Pointcuts
Picks isXxx() methods.
Interceptor - interface dynaop.Interceptor.
Method interception advice.
InterceptorFactory - interface dynaop.InterceptorFactory.
Manufactures interceptors.
Invocation - interface dynaop.Invocation.
Intercepted method invocation.
implementsInterfaces(Class, Class[]) - Static method in class dynaop.util.Classes
Returns true if clazz implements all of the interfaces.
init(ServletConfig) - Method in class dynaop.remote.Service
 
instancesOf(Class) - Static method in class dynaop.Pointcuts
Picks classes that are an instance of the parent class or interface.
intercept(Invocation) - Method in class dynaop.DispatchInterceptor
 
intercept(Invocation) - Method in interface dynaop.Interceptor
Intercepts a method invocation.
intercept(Invocation) - Method in class dynaop.observer.SubjectInterceptor
 
interceptor(ClassPointcut, MethodPointcut, Interceptor) - Method in class dynaop.Aspects
Adds method interceptor instance to methods picked by pointcuts.
interceptor(ClassPointcut, MethodPointcut, Class, Closure) - Method in class dynaop.Aspects
Adds method interceptor instance to methods picked by pointcuts.
interceptor(ClassPointcut, MethodPointcut, InterceptorFactory) - Method in class dynaop.Aspects
Adds custom interceptor factory to methods picked by pointcuts.
interceptor(Object, Object, Class, Closure) - Method in class dynaop.bsh.BshHelper
 
interceptor(Object, Object, Class) - Method in class dynaop.bsh.BshHelper
 
interceptor(Object, Object, Interceptor) - Method in class dynaop.bsh.BshHelper
 
interceptor(Object, Object, InterceptorFactory) - Method in class dynaop.bsh.BshHelper
 
interfaces(ClassPointcut, Class[]) - Method in class dynaop.Aspects
Adds interfaces to classes picked by pointcut.
interfaces(Object, Class[]) - Method in class dynaop.bsh.BshHelper
 
intersection(ClassPointcut, ClassPointcut) - Static method in class dynaop.Pointcuts
Intersection of two class pointcuts.
intersection(MethodPointcut, MethodPointcut) - Static method in class dynaop.Pointcuts
Intersection of two method pointcuts.
intersection(Object, Object) - Method in class dynaop.bsh.BshHelper
 
invoke(Object, Method, Object[]) - Static method in class dynaop.util.Classes
Invokes method on target object with arguments.
isClassProxy() - Method in interface dynaop.ProxyContext
Is this a class proxy (as opposed to a dynamic proxy)?

M

MethodHandle - class dynaop.util.MethodHandle.
Serializable method handle.
MethodHandle(Method) - Constructor for class dynaop.util.MethodHandle
 
MethodPointcut - interface dynaop.MethodPointcut.
Picks methods.
MixinFactory - interface dynaop.MixinFactory.
Manufactures mixins.
main(String[]) - Static method in class dynaop.Debug
 
membersOf(Class) - Static method in class dynaop.Pointcuts
Picks methods that are members of the given class (whether or not the method's actual declaring class is an instance of the given class).
methodPointcut(Class) - Static method in class dynaop.DispatchInterceptor
Creates a method pointcut for the given DispatchInterceptor class.
mixin(ClassPointcut, Class[], Class, Closure) - Method in class dynaop.Aspects
Adds mixin instance to classes picked by pointcut.
mixin(ClassPointcut, Class, Closure) - Method in class dynaop.Aspects
Convenience method.
mixin(ClassPointcut, Class[], MixinFactory) - Method in class dynaop.Aspects
Adds custom mixin factory to classes picked by pointcut.
mixin(Object, Class[], Class, Closure) - Method in class dynaop.bsh.BshHelper
 
mixin(Object, Class[], Class) - Method in class dynaop.bsh.BshHelper
 
mixin(Object, Class[], MixinFactory) - Method in class dynaop.bsh.BshHelper
 
mixin(Object, Class, Closure) - Method in class dynaop.bsh.BshHelper
 
mixin(Object, Class) - Method in class dynaop.bsh.BshHelper
 

N

NestedException - exception dynaop.util.NestedException.
Turns a nested exception into a runtime exception.
newInstance(Class) - Static method in class dynaop.util.Classes
Creates a new instance of clazz using default constructor and converting exceptions.
newInstance(Constructor, Object[]) - Static method in class dynaop.util.Classes
Creates a new instance of clazz converting exceptions.
not(ClassPointcut) - Static method in class dynaop.Pointcuts
Inverts pointcut.
not(MethodPointcut) - Static method in class dynaop.Pointcuts
Inverts pointcut.
notify(Subject, Object) - Method in interface dynaop.observer.Observer
Notifies of change in the Subject.
notifyObservers(Object) - Method in interface dynaop.observer.Subject
Notifies Observers of a change.
notifyObservers(Object) - Method in class dynaop.observer.SubjectMixin
 

O

OBJECT_METHODS - Static variable in class dynaop.Pointcuts
Picks equals(), hashCode(), and toString().
OBJECT_METHODS - Static variable in class dynaop.util.Classes
 
OBJECT_METHODS_SET - Static variable in class dynaop.util.Classes
 
Observer - interface dynaop.observer.Observer.
Observes a Subject.

P

Pointcuts - class dynaop.Pointcuts.
Creates class and method pointcuts.
Proxy - interface dynaop.Proxy.
Implemented by generated proxies.
ProxyAware - interface dynaop.ProxyAware.
Implemented by mixins or interceptors that need access to the surrounding proxy.
ProxyContext - interface dynaop.ProxyContext.
Proxy instance context.
ProxyFactory - class dynaop.ProxyFactory.
Manufactures proxies.
ProxyType - interface dynaop.ProxyType.
Proxy type.
packageName(String) - Static method in class dynaop.Pointcuts
Picks all classes in package.
picks(Class) - Method in interface dynaop.ClassPointcut
Returns true if this pointcut picks the given class.
picks(Method) - Method in interface dynaop.MethodPointcut
Returns true if this pointcut picks the given method.
printStackTrace() - Method in class dynaop.util.NestedException
 
printStackTrace(PrintStream) - Method in class dynaop.util.NestedException
 
printStackTrace(PrintWriter) - Method in class dynaop.util.NestedException
 
printXml(Class, ProxyType) - Method in class dynaop.Debug
Prints proxy type for class as XML.
proceed() - Method in class dynaop.DispatchInterceptor
Proceeds with invocation.
proceed() - Method in interface dynaop.Invocation
Invokes next interceptor, mixin, or proxy target.

R

removeObserver(Observer) - Method in interface dynaop.observer.Subject
Removes an Observer.
removeObserver(Observer) - Method in class dynaop.observer.SubjectMixin
 
returnType(ClassPointcut) - Static method in class dynaop.Pointcuts
Picks method if the given class pointcut picks the method's return type.
returnType(Object) - Method in class dynaop.bsh.BshHelper
 

S

SET_METHODS - Static variable in class dynaop.Pointcuts
Picks setXxx() methods.
Service - class dynaop.remote.Service.
Service servlet.
Service() - Constructor for class dynaop.remote.Service
 
Subject - interface dynaop.observer.Subject.
Subject of observation.
SubjectInterceptor - class dynaop.observer.SubjectInterceptor.
Notifies observers after the method invocation completes.
SubjectInterceptor() - Constructor for class dynaop.observer.SubjectInterceptor
 
SubjectInterceptor(Object) - Constructor for class dynaop.observer.SubjectInterceptor
 
SubjectMixin - class dynaop.observer.SubjectMixin.
Support class for subject mixins.
SubjectMixin() - Constructor for class dynaop.observer.SubjectMixin
 
setProxy(Proxy) - Method in interface dynaop.ProxyAware
 
setProxy(Proxy) - Method in class dynaop.observer.SubjectMixin
 
signature(String) - Static method in class dynaop.Pointcuts
Matches method signatures with a regular expression.
singleton(Class) - Static method in class dynaop.Pointcuts
Picks one class.
singleton(Method) - Static method in class dynaop.Pointcuts
Picks one method.

T

TOSTRING_METHOD - Static variable in class dynaop.util.Classes
 
toString() - Method in class dynaop.DispatchInterceptor
 
toString() - Method in class dynaop.util.ArrayObject
 
toString() - Method in class dynaop.util.NestedException
 

U

unhandleMethodKeys(Map) - Static method in class dynaop.util.MethodHandle
 
union(ClassPointcut, ClassPointcut) - Static method in class dynaop.Pointcuts
Union of two class pointcuts.
union(MethodPointcut, MethodPointcut) - Static method in class dynaop.Pointcuts
Union of two method pointcuts.
union(Object, Object) - Method in class dynaop.bsh.BshHelper
 
unwrap() - Method in interface dynaop.ProxyContext
Gets proxied object. Returns wrapped object for dynamic proxies, and creates new, non-proxied copy for class proxies.

W

wrap(Object) - Method in class dynaop.ProxyFactory
Creates dynamic proxy for the given target object.
wrap(Throwable) - Static method in class dynaop.util.NestedException
Wrap another exeception in a RuntimeException.

A B C D E F G H I M N O P R S T U W