Package jodd.proxetta
Proxetta creates the fastest proxy subclasses in an easy, java-friendly way.
Proxy is defined by an aspect: advice and pointcut. Proxetta proxy implementation is all about wrapping target methods at defined pointcuts with advice's methods. Advice's methods intercepts target method invocation.
Proxetta advices are plain java code that use special 'macro'-alike static methods from ProxyTarget
class.
These static method invocations will be replaced with appropriate target invocation, once when proxy
subclass is created. This unique feature makes generated code not to use reflections, and therefore, very fast.
-
Interface Summary Interface Description AnnotationInfo Annotation information.ClassInfo Various target class information.InvokeAspect Invoke aspect defines method pointcuts that should be replaced and their advice replacements.MethodInfo Method info provides various information about a method.ProxyAdvice ProxyAdvice is the code portion of an aspect, i.e.ProxyPointcut Pointcut is a set of points in the application where advice should be applied, i.e.TypeInfo Holds information about the types. -
Class Summary Class Description DefineClass GenericsReader Collector of generics information from the signature.InvokeInfo Information about invocation.InvokeReplacer Invocation advice represents a method that will replace some invocation pointcut.MutableInteger Proxetta<T extends Proxetta,A> Proxetta creates dynamic proxy classes in the run-time.ProxettaFactory<T extends ProxettaFactory,P extends Proxetta> Proxetta builder.ProxettaNames Jodd PROXETTA default names, used all over the library..ProxettaUtil Proxetta utilities.ProxyAspect Proxy aspect contains advice and pointcut rules for applying advice.ProxyTarget Marker class forproxy
implementations.ProxyTargetInfo Holder for variousProxyTarget
information.ProxyTargetReplacement Replacements methods forProxyTarget
methods. -
Exception Summary Exception Description ProxettaException