Skip navigation links
A C D G H I J L M N O P R S T U V W 

A

AbstractProxyManager - Class in org.apache.aries.proxy.impl
 
AbstractProxyManager() - Constructor for class org.apache.aries.proxy.impl.AbstractProxyManager
 
AbstractWovenProxyAdapter - Class in org.apache.aries.proxy.impl.common
This abstract superclass is responsible for providing proxy extensions to classes being written.
AbstractWovenProxyAdapter(ClassVisitor, String, ClassLoader) - Constructor for class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
Create a new adapter for the supplied class
AbstractWovenProxyMethodAdapter - Class in org.apache.aries.proxy.impl.common
This class weaves dispatch and listener code into a method, there are two known subclasses WovenProxyConcreteMethodAdapter is used for weaving instance methods WovenProxyAbstractMethodAdapter is used to provide a delegating implementation of an interface method.
AbstractWovenProxyMethodAdapter(MethodVisitor, int, String, String, String, Method, Type, Type, boolean, boolean) - Constructor for class org.apache.aries.proxy.impl.common.AbstractWovenProxyMethodAdapter
Construct a new method adapter
addMethodArray(Method[]) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassMethodHashSet
 
AsmProxyManager - Class in org.apache.aries.proxy.impl
 
AsmProxyManager() - Constructor for class org.apache.aries.proxy.impl.AsmProxyManager
 

C

call() - Method in class org.apache.aries.proxy.impl.SingleInstanceDispatcher
 
Constants - Interface in org.apache.aries.proxy.impl.gen
 
ConstructorFinder - Class in org.apache.aries.proxy.impl.common
 
ConstructorFinder() - Constructor for class org.apache.aries.proxy.impl.common.ConstructorFinder
 
createDelegatingInterceptingProxy(Bundle, Collection<Class<?>>, Callable<Object>, Object, InvocationListener) - Method in class org.apache.aries.proxy.impl.AbstractProxyManager
 
createDelegatingProxy(Bundle, Collection<Class<?>>, Callable<Object>, Object) - Method in class org.apache.aries.proxy.impl.AbstractProxyManager
 
createInterceptingProxy(Bundle, Collection<Class<?>>, Object, InvocationListener) - Method in class org.apache.aries.proxy.impl.AbstractProxyManager
 
createNewProxy(Bundle, Collection<Class<?>>, Callable<Object>, InvocationListener) - Method in class org.apache.aries.proxy.impl.AbstractProxyManager
 
createNewProxy(Bundle, Collection<Class<?>>, Callable<Object>, InvocationListener) - Method in class org.apache.aries.proxy.impl.AsmProxyManager
 
createNewProxy(Bundle, Collection<Class<?>>, Callable<Object>, InvocationListener) - Method in class org.apache.aries.proxy.impl.JdkProxyManager
 
currentMethodDeclaringType - Variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
 
currentMethodDeclaringTypeIsInterface - Variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
 
currentTransformMethod - Variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyMethodAdapter
The current method
CustomClassVisitor(ClassVisitor) - Constructor for class org.apache.aries.proxy.synthesizer.Synthesizer.CustomClassVisitor
 

D

DefaultWrapper - Class in org.apache.aries.proxy.impl
 
DefaultWrapper() - Constructor for class org.apache.aries.proxy.impl.DefaultWrapper
 
DISPATCHER_FIELD - Static variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
the name of the field used to store the dispatcher
DISPATCHER_TYPE - Static variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
The ASM type for the dispatcher

G

getClassLoader(Bundle, Collection<Class<?>>) - Method in class org.apache.aries.proxy.impl.AbstractProxyManager
 
getCommonSuperClass(String, String) - Method in class org.apache.aries.proxy.impl.common.OSGiFriendlyClassWriter
We provide an implementation that doesn't cause class loads to occur.
getInvocationHandler(Object) - Method in class org.apache.aries.proxy.impl.AbstractProxyManager
 
getInvocationHandler(Object) - Method in class org.apache.aries.proxy.impl.AsmProxyManager
 
getInvocationHandler(Object) - Static method in class org.apache.aries.proxy.impl.gen.ProxySubclassGenerator
 
getInvocationHandler(Object) - Method in class org.apache.aries.proxy.impl.JdkProxyManager
 
getKnownMethods() - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
 
getProxyInstance(Bundle, Class<?>, Collection<Class<?>>, Callable<Object>, InvocationListener) - Static method in class org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator
Generate a new proxy instance implementing the supplied interfaces and using the supplied dispatcher and listener
getProxySubclass(Class<?>) - Static method in class org.apache.aries.proxy.impl.gen.ProxySubclassGenerator
 
getProxySubclass(Class<?>, ClassLoader) - Static method in class org.apache.aries.proxy.impl.gen.ProxySubclassGenerator
 
getSanitizedUUIDString() - Static method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
Get a new UUID suitable for use in method and field names
getTarget() - Method in class org.apache.aries.proxy.impl.ProxyHandler
 
getWeavingJavaVersion() - Static method in class org.apache.aries.proxy.impl.ProxyUtils
Get the java version to be woven at.
getWeavingMethodVisitor(int, String, String, String, String[], Method, String, Type, boolean) - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
Get the MethodVisitor that will weave a given method
getWovenProxy(byte[], ClassLoader) - Static method in class org.apache.aries.proxy.impl.weaving.WovenProxyGenerator
 

H

hasNoArgsConstructor() - Method in class org.apache.aries.proxy.impl.common.ConstructorFinder
 

I

InterfaceProxyGenerator - Class in org.apache.aries.proxy.impl.interfaces
This class is used to aggregate several interfaces into a real class which implements all of them It also allows you specify a superclass that the class should implement - this will add delegating method overrides for any abstract methods in the hierarchy, but not override any non-abstract methods.
InterfaceProxyGenerator() - Constructor for class org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator
 
invoke(Object, Method, Object[]) - Method in class org.apache.aries.proxy.impl.ProxyHandler
 
IS_AT_LEAST_JAVA_6 - Static variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
 
isProxy(Object) - Method in class org.apache.aries.proxy.impl.AbstractProxyManager
 
isProxyClass(Class<?>) - Method in class org.apache.aries.proxy.impl.AbstractProxyManager
 
isProxyClass(Class<?>) - Method in class org.apache.aries.proxy.impl.AsmProxyManager
 
isProxyClass(Class<?>) - Method in class org.apache.aries.proxy.impl.JdkProxyManager
 
isProxySubclass(Class<?>) - Static method in class org.apache.aries.proxy.impl.gen.ProxySubclassGenerator
 
isSerializable - Variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
If we have a no-args constructor then we can delegate there rather than to a super no-args
isSuperClassWoven(WovenClass) - Method in class org.apache.aries.proxy.impl.weaving.ProxyWeavingHook
 
isWoven(Class<?>) - Method in class org.apache.aries.proxy.impl.weaving.ProxyWeavingHook
 

J

JAVA_CLASS_VERSION - Static variable in class org.apache.aries.proxy.impl.ProxyUtils
 
JdkProxyManager - Class in org.apache.aries.proxy.impl
 
JdkProxyManager() - Constructor for class org.apache.aries.proxy.impl.JdkProxyManager
 

L

LISTENER_FIELD - Static variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
the name of the field used to store the InvocationListener
LOG_ENTRY - Static variable in interface org.apache.aries.proxy.impl.gen.Constants
 
LOG_EXCEPTION - Static variable in interface org.apache.aries.proxy.impl.gen.Constants
 
LOG_EXIT - Static variable in interface org.apache.aries.proxy.impl.gen.Constants
 

M

main(String[]) - Static method in class org.apache.aries.proxy.synthesizer.Synthesizer
This is the main method for running the Synthesizer
MESSAGES - Static variable in class org.apache.aries.proxy.impl.NLS
 

N

newProxySubclassInstance(Class<?>, InvocationHandler) - Static method in class org.apache.aries.proxy.impl.gen.ProxySubclassGenerator
 
newProxySubclassInstance(Class<?>, ClassLoader, InvocationHandler) - Static method in class org.apache.aries.proxy.impl.gen.ProxySubclassGenerator
 
NLS - Class in org.apache.aries.proxy.impl
 
NLS() - Constructor for class org.apache.aries.proxy.impl.NLS
 
nonObjectSupers - Variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
A list of un-woven superclasses between this object and Object, only populated for classes which will directly implement WovenProxy.

O

OBJECT_TYPE - Static variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
 
org.apache.aries.proxy.impl - package org.apache.aries.proxy.impl
 
org.apache.aries.proxy.impl.common - package org.apache.aries.proxy.impl.common
 
org.apache.aries.proxy.impl.gen - package org.apache.aries.proxy.impl.gen
 
org.apache.aries.proxy.impl.interfaces - package org.apache.aries.proxy.impl.interfaces
 
org.apache.aries.proxy.impl.weaving - package org.apache.aries.proxy.impl.weaving
 
org.apache.aries.proxy.synthesizer - package org.apache.aries.proxy.synthesizer
 
org.apache.aries.proxy.weaving - package org.apache.aries.proxy.weaving
 
org_apache_aries_proxy_weaving_WovenProxy_createNewProxyInstance(Callable<Object>, InvocationListener) - Method in interface org.apache.aries.proxy.weaving.WovenProxy
 
org_apache_aries_proxy_weaving_WovenProxy_isProxyInstance() - Method in interface org.apache.aries.proxy.weaving.WovenProxy
 
org_apache_aries_proxy_weaving_WovenProxy_unwrap() - Method in interface org.apache.aries.proxy.weaving.WovenProxy
 
OSGiFriendlyClassVisitor - Class in org.apache.aries.proxy.impl.common
We need to override ASM's default behaviour in #getCommonSuperClass(String, String) so that it doesn't load classes (which it was doing on the wrong ClassLoader anyway...)
OSGiFriendlyClassVisitor(ClassVisitor, int) - Constructor for class org.apache.aries.proxy.impl.common.OSGiFriendlyClassVisitor
 
OSGiFriendlyClassWriter - Class in org.apache.aries.proxy.impl.common
We need to override ASM's default behaviour in OSGiFriendlyClassWriter.getCommonSuperClass(String, String) so that it doesn't load classes (which it was doing on the wrong ClassLoader anyway...)
OSGiFriendlyClassWriter(ClassReader, int, ClassLoader) - Constructor for class org.apache.aries.proxy.impl.common.OSGiFriendlyClassWriter
 
OSGiFriendlyClassWriter(int, ClassLoader) - Constructor for class org.apache.aries.proxy.impl.common.OSGiFriendlyClassWriter
 

P

postInvoke(Object, Object, Method, Object) - Method in class org.apache.aries.proxy.impl.DefaultWrapper
 
postInvokeExceptionalReturn(Object, Object, Method, Throwable) - Method in class org.apache.aries.proxy.impl.DefaultWrapper
 
preInvoke(Object, Method, Object[]) - Method in class org.apache.aries.proxy.impl.DefaultWrapper
 
ProxyClassBytecodeGenerationException - Exception in org.apache.aries.proxy.impl.gen
 
ProxyClassBytecodeGenerationException(String, Throwable) - Constructor for exception org.apache.aries.proxy.impl.gen.ProxyClassBytecodeGenerationException
 
ProxyClassDefinitionException - Exception in org.apache.aries.proxy.impl.gen
 
ProxyClassDefinitionException(String, Exception) - Constructor for exception org.apache.aries.proxy.impl.gen.ProxyClassDefinitionException
 
ProxyClassInstantiationException - Exception in org.apache.aries.proxy.impl.gen
 
ProxyClassInstantiationException(Class<?>, Throwable) - Constructor for exception org.apache.aries.proxy.impl.gen.ProxyClassInstantiationException
 
ProxyHandler - Class in org.apache.aries.proxy.impl
 
ProxyHandler(AbstractProxyManager, Callable<Object>, InvocationListener) - Constructor for class org.apache.aries.proxy.impl.ProxyHandler
 
ProxyManagerActivator - Class in org.apache.aries.proxy.impl
 
ProxyManagerActivator() - Constructor for class org.apache.aries.proxy.impl.ProxyManagerActivator
 
ProxySubclassAdapter - Class in org.apache.aries.proxy.impl.gen
 
ProxySubclassAdapter(ClassVisitor, String, ClassLoader) - Constructor for class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
ProxySubclassGenerator - Class in org.apache.aries.proxy.impl.gen
 
ProxySubclassGenerator() - Constructor for class org.apache.aries.proxy.impl.gen.ProxySubclassGenerator
 
ProxySubclassHierarchyAdapter - Class in org.apache.aries.proxy.impl.gen
 
ProxySubclassMethodHashSet<E> - Class in org.apache.aries.proxy.impl.gen
 
ProxySubclassMethodHashSet(int) - Constructor for class org.apache.aries.proxy.impl.gen.ProxySubclassMethodHashSet
 
ProxyUtils - Class in org.apache.aries.proxy.impl
 
ProxyUtils() - Constructor for class org.apache.aries.proxy.impl.ProxyUtils
 
ProxyWeavingHook - Class in org.apache.aries.proxy.impl.weaving
 
ProxyWeavingHook(BundleContext) - Constructor for class org.apache.aries.proxy.impl.weaving.ProxyWeavingHook
 

R

readClass(Class<?>, ClassVisitor) - Static method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
This method will read the bytes for the supplied Class using the supplied ASM ClassVisitor, the reader will skip DEBUG, FRAMES and CODE.

S

setCurrentMethodDeclaringType(Type, boolean) - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
 
SingleInstanceDispatcher - Class in org.apache.aries.proxy.impl
Dispatch to a single fixed instance
SingleInstanceDispatcher(Object) - Constructor for class org.apache.aries.proxy.impl.SingleInstanceDispatcher
 
start(BundleContext) - Method in class org.apache.aries.proxy.impl.ProxyManagerActivator
 
stop(BundleContext) - Method in class org.apache.aries.proxy.impl.ProxyManagerActivator
 
Synthesizer - Class in org.apache.aries.proxy.synthesizer
The Synthesizer class can be run from a java command with arguments of paths to class files that should be modified to have the synthetic attribute added.
Synthesizer() - Constructor for class org.apache.aries.proxy.synthesizer.Synthesizer
 
Synthesizer.CustomClassVisitor - Class in org.apache.aries.proxy.synthesizer
 

T

transformedMethods - Variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
Methods we have transformed and need to create static fields for.
typeBeingWoven - Variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
The type of this class
typeBeingWoven - Variable in class org.apache.aries.proxy.impl.common.AbstractWovenProxyMethodAdapter
The type of this
TypeMethod - Class in org.apache.aries.proxy.impl.common
This object stores a Method and the class that declares it
TypeMethod(Type, Method) - Constructor for class org.apache.aries.proxy.impl.common.TypeMethod
 

U

UnableToLoadProxyException - Exception in org.apache.aries.proxy.impl.gen
 
UnableToLoadProxyException(String, Exception) - Constructor for exception org.apache.aries.proxy.impl.gen.UnableToLoadProxyException
 
unwrap(Object) - Method in class org.apache.aries.proxy.impl.AbstractProxyManager
 
unwrapEqualsArgument() - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyMethodAdapter
This method unwraps woven proxy instances for use in the right-hand side of equals methods

V

visit(int, int, String, String, String, String[]) - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
 
visit(int, int, String, String, String, String[]) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
visit(int, int, String, String, String, String[]) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassHierarchyAdapter
 
visit(int, int, String, String, String, String[]) - Method in class org.apache.aries.proxy.synthesizer.Synthesizer.CustomClassVisitor
 
visitAnnotation(String, boolean) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
visitAnnotation(String, boolean) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassHierarchyAdapter
 
visitAttribute(Attribute) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
visitAttribute(Attribute) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassHierarchyAdapter
 
visitCode() - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyMethodAdapter
 
visitCode() - Method in class org.apache.aries.proxy.impl.common.WovenProxyAbstractMethodAdapter
We write dispatch code here because we have no real method body
visitCode() - Method in class org.apache.aries.proxy.impl.common.WovenProxyConcreteMethodAdapter
We weave instructions before the normal method body.
visitEnd() - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
Our class may claim to implement WovenProxy, but doesn't have any implementations! We should fix this.
visitEnd() - Method in class org.apache.aries.proxy.impl.common.WovenProxyAbstractMethodAdapter
We don't get the code and maxs calls for interfaces, so we add them here
visitEnd() - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
visitEnd() - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassHierarchyAdapter
 
visitField(int, String, String, String, Object) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
visitField(int, String, String, String, Object) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassHierarchyAdapter
 
visitInnerClass(String, String, String, int) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
visitInnerClass(String, String, String, int) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassHierarchyAdapter
 
visitMaxs(int, int) - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyMethodAdapter
 
visitMaxs(int, int) - Method in class org.apache.aries.proxy.impl.common.WovenProxyAbstractMethodAdapter
 
visitMaxs(int, int) - Method in class org.apache.aries.proxy.impl.common.WovenProxyConcreteMethodAdapter
 
visitMethod(int, String, String, String, String[]) - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter
This method is called on each method implemented on this object (but not for superclass methods) Each of these methods is visited in turn and the code here generates the byte code for the calls to the InovcationListener around the existing method
visitMethod(int, String, String, String, String[]) - Method in class org.apache.aries.proxy.impl.common.ConstructorFinder
 
visitMethod(int, String, String, String, String[]) - Method in class org.apache.aries.proxy.impl.common.OSGiFriendlyClassVisitor
 
visitMethod(int, String, String, String, String[]) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
visitMethod(int, String, String, String, String[]) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassHierarchyAdapter
 
visitOuterClass(String, String, String) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
visitOuterClass(String, String, String) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassHierarchyAdapter
 
visitSource(String, String) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassAdapter
 
visitSource(String, String) - Method in class org.apache.aries.proxy.impl.gen.ProxySubclassHierarchyAdapter
 

W

weave(WovenClass) - Method in class org.apache.aries.proxy.impl.weaving.ProxyWeavingHook
 
WEAVING_DISABLED_CLASSES - Static variable in class org.apache.aries.proxy.impl.weaving.ProxyWeavingHook
 
WEAVING_DISABLED_CLASSES_DEFAULT - Static variable in class org.apache.aries.proxy.impl.weaving.ProxyWeavingHook
 
WEAVING_ENABLED_CLASSES - Static variable in class org.apache.aries.proxy.impl.weaving.ProxyWeavingHook
 
WEAVING_ENABLED_CLASSES_DEFAULT - Static variable in class org.apache.aries.proxy.impl.weaving.ProxyWeavingHook
 
WovenProxy - Interface in org.apache.aries.proxy.weaving
 
WovenProxyAbstractMethodAdapter - Class in org.apache.aries.proxy.impl.common
Used to create a delegating method implementation for methods with no body
WovenProxyAbstractMethodAdapter(MethodVisitor, int, String, String, String, Method, Type, Type, boolean, boolean) - Constructor for class org.apache.aries.proxy.impl.common.WovenProxyAbstractMethodAdapter
 
WovenProxyConcreteMethodAdapter - Class in org.apache.aries.proxy.impl.common
 
WovenProxyConcreteMethodAdapter(MethodVisitor, int, String, String, String[], String, Method, Type, Type, boolean) - Constructor for class org.apache.aries.proxy.impl.common.WovenProxyConcreteMethodAdapter
 
WovenProxyGenerator - Class in org.apache.aries.proxy.impl.weaving
This class is used to weave the bytes of a class into a proxyable class
WovenProxyGenerator() - Constructor for class org.apache.aries.proxy.impl.weaving.WovenProxyGenerator
 
writeDispatcher() - Method in class org.apache.aries.proxy.impl.common.AbstractWovenProxyMethodAdapter
Write out the bytecode instructions necessary to do the dispatch.
A C D G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.