Package | Description |
---|---|
org.jboss.invocation.proxy |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMethodBodyCreator
A
MethodBodyCreator that simply returns 0 or null depending on the methods return type |
class |
ProxyFactory.ProxyMethodBodyCreator
Overrides superclass methods and forwards calls to the dispatcher.
|
class |
ProxyFactory.WriteReplaceBodyCreator
Generates the writeReplace method if advanced serialization is enabled.
|
Modifier and Type | Method and Description |
---|---|
MethodBodyCreator |
ProxyFactory.getDefaultMethodOverride() |
MethodBodyCreator |
AbstractSubclassFactory.getDefaultMethodOverride()
Returns the default
MethodBodyCreator to use when creating overridden methods. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractSubclassFactory.addInterface(MethodBodyCreator override,
Class<?> interfaceClass)
Adds an interface to the generated subclass, using the given
MethodBodyCreator to generate the method bodies |
protected void |
AbstractSubclassFactory.overrideAllMethods(MethodBodyCreator override)
Overrides all methods on the superclass with the exception of
equals(Object) , hashCode() ,
toString() and finalize() . |
protected boolean |
AbstractSubclassFactory.overrideEquals(MethodBodyCreator creator)
Override the equals method using the given
MethodBodyCreator . |
protected boolean |
AbstractSubclassFactory.overrideFinalize(MethodBodyCreator creator)
Override the finalize method using the given
MethodBodyCreator . |
protected boolean |
AbstractSubclassFactory.overrideHashcode(MethodBodyCreator creator)
Override the hashCode method using the given
MethodBodyCreator . |
protected boolean |
AbstractSubclassFactory.overrideMethod(org.jboss.classfilewriter.ClassMethod method,
MethodIdentifier identifier,
MethodBodyCreator creator)
Creates a new method on the generated class that overrides the given methods, unless a method with the same signature has
already been overridden.
|
protected boolean |
AbstractSubclassFactory.overrideMethod(Method method,
MethodIdentifier identifier,
MethodBodyCreator creator)
Creates a new method on the generated class that overrides the given methods, unless a method with the same signature has
already been overridden.
|
protected void |
AbstractSubclassFactory.overridePublicMethods(MethodBodyCreator override)
Overrides all public methods on the superclass.
|
protected boolean |
AbstractSubclassFactory.overrideToString(MethodBodyCreator creator)
Override the toString method using the given
MethodBodyCreator . |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.