Package | Description |
---|---|
spin | |
spin.off | |
spin.over | |
spin.proxy |
Modifier and Type | Method and Description |
---|---|
static Evaluator |
Spin.getDefaultOffEvaluator()
Get the default evaluator for spin-off.
|
static Evaluator |
Spin.getDefaultOverEvaluator()
Get the default evaluator for spin-over.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
ProxyFactory.createProxy(Object object,
Evaluator evaluator)
Create a proxy for the given object that evaluates invocations with the
given evaluator.
|
protected Object |
ProxyFactory.evaluteInvocation(Evaluator evaluator,
Object proxy,
Invocation invocation)
Evaluate the given invocation with the given evaluator.
|
static void |
Spin.setDefaultOffEvaluator(Evaluator evaluator)
Set the default evaluator for spin-off.
|
static void |
Spin.setDefaultOverEvaluator(Evaluator evaluator)
Set the default evaluator for spin-over.
|
Constructor and Description |
---|
Spin(Object object,
Evaluator evaluator)
Create a Spin wrapper for the given object.
|
Spin(Object object,
ProxyFactory proxyFactory,
Evaluator evaluator)
Create a Spin wrapper for the given object.
|
Modifier and Type | Class and Description |
---|---|
class |
ListenerSpinOver
An evaluator for spin-off that automatically spins-over all arguments of a
SpinOffEvaluator if their corresponding parameter types are
subinterfaces of java.util.EventListener . |
class |
SpinOffEvaluator
An evaluator for spin-off, i.e.
|
Constructor and Description |
---|
ListenerSpinOver(Evaluator evaluator)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
SpinOverEvaluator
An evaluator for spin-over, i.e.
|
Modifier and Type | Method and Description |
---|---|
Object |
CGLibProxyFactory.createProxy(Object object,
Evaluator evaluator) |
Object |
JDKProxyFactory.createProxy(Object object,
Evaluator evaluator)
The created proxy will not implement non-public interfaces from different
class loaders since these yield an
IllegalAccessError on
construction of a proxy. |
Copyright © 2012. All Rights Reserved.