Top Inners Fields Constructors Methods
org.springframework.cglib.reflect

public abstract Class MulticastDelegate

extends Object
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Annotations
@SuppressWarnings:rawtypes, unchecked
Imports
java.security.ProtectionDomain, java.util.ArrayList, .Arrays, .List, org.springframework.asm.ClassVisitor, .Type, org.springframework.cglib.core.AbstractClassGenerator, .ClassEmitter, .CodeEmitter, .Constants, .EmitUtils, .Local, .MethodInfo, .ReflectUtils, .Signature, .TypeUtils

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
protected Object[]

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public abstract MulticastDelegate
add(Object target)

protected MulticastDelegate
addHelper(Object target)

public static MulticastDelegate
create(Class<T> iface)

public List<E>
public abstract MulticastDelegate
public MulticastDelegate
remove(Object target)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

targetsback to summary
protected Object[] targets

Constructor Detail

MulticastDelegateback to summary
protected MulticastDelegate()

Method Detail

addback to summary
public abstract MulticastDelegate add(Object target)
addHelperback to summary
protected MulticastDelegate addHelper(Object target)
createback to summary
public static MulticastDelegate create(Class<T> iface)
getTargetsback to summary
public List<E> getTargets()
newInstanceback to summary
public abstract MulticastDelegate newInstance()
removeback to summary
public MulticastDelegate remove(Object target)
org.springframework.cglib.reflect back to summary

public Class MulticastDelegate.Generator

extends AbstractClassGenerator
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final Signature
private static final Signature
private Class<T>
private static final Type
private static final Signature
private static final AbstractClassGenerator.Source

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MulticastDelegate
private void
emitProxy(ClassEmitter ce, final MethodInfo method)

protected Object
public void
protected ClassLoader
protected ProtectionDomain
getProtectionDomain()

Overrides org.springframework.cglib.core.AbstractClassGenerator.getProtectionDomain.

Returns the protection domain to use when defining the class.
protected Object
public void
setInterface(Class<T> iface)

Inherited from org.springframework.cglib.core.AbstractClassGenerator:
creategenerategetAttemptLoadgetClassLoadergetClassNamegetCurrentgetNamingPolicygetStrategygetUseCachesetAttemptLoadsetClassLoadersetContextClasssetNamePrefixsetNamingPolicysetStrategysetUseCacheunwrapCachedValuewrapCachedClass

Field Detail

ADD_DELEGATEback to summary
private static final Signature ADD_DELEGATE
ADD_HELPERback to summary
private static final Signature ADD_HELPER
ifaceback to summary
private Class<T> iface
MULTICAST_DELEGATEback to summary
private static final Type MULTICAST_DELEGATE
NEW_INSTANCEback to summary
private static final Signature NEW_INSTANCE
SOURCEback to summary
private static final AbstractClassGenerator.Source SOURCE

Constructor Detail

Generatorback to summary
public Generator()

Method Detail

createback to summary
public MulticastDelegate create()
emitProxyback to summary
private void emitProxy(ClassEmitter ce, final MethodInfo method)
firstInstanceback to summary
protected Object firstInstance(Class<T> type)

Implements abstract org.springframework.cglib.core.AbstractClassGenerator.firstInstance.

Annotations
@Override
generateClassback to summary
public void generateClass(ClassVisitor cv)

Implements org.springframework.cglib.core.ClassGenerator.generateClass.

Annotations
@Override
getDefaultClassLoaderback to summary
protected ClassLoader getDefaultClassLoader()

Implements abstract org.springframework.cglib.core.AbstractClassGenerator.getDefaultClassLoader.

Annotations
@Override
getProtectionDomainback to summary
protected ProtectionDomain getProtectionDomain()

Overrides org.springframework.cglib.core.AbstractClassGenerator.getProtectionDomain.

Doc from org.springframework.cglib.core.AbstractClassGenerator.getProtectionDomain.

Returns the protection domain to use when defining the class.

Default implementation returns null for using a default protection domain. Sub-classes may override to use a more specific protection domain.

Returns:ProtectionDomain

the protection domain (null for using a default)

Annotations
@Override
nextInstanceback to summary
protected Object nextInstance(Object instance)

Implements abstract org.springframework.cglib.core.AbstractClassGenerator.nextInstance.

Annotations
@Override
setInterfaceback to summary
public void setInterface(Class<T> iface)