|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface SourcePropertyAccessorToTypeAdapter.Builder<T>
SourcePropertyAccessorToTypeAdapter.Builder for multiple instances based on the same Class type and SourcePropertyAccessorToTypeAdapter.Configuration instance.
This is much faster for many instances, since the Class has only to be generated once as prototype and can then be
cloned to generate new instances.
It has to be ensured that any decorator given within the SourcePropertyAccessorToTypeAdapter.Configuration is stateless, since it might encounter
concurrent access through different facade instances.
| Method Summary | |
|---|---|
T |
newTypeAdapter(SourcePropertyAccessor sourcePropertyAccessor)
Creates the type adapter stub |
T |
newTypeAdapter(SourcePropertyAccessor sourcePropertyAccessor,
SourcePropertyAccessorDecorator[] sourcePropertyAccessorDecorators,
MethodInvocationHandlerDecorator[] methodInvocationHandlerDecorators)
Similar to newTypeAdapter(SourcePropertyAccessor) but allows to add further
SourcePropertyAccessorDecorator and MethodInvocationHandlerDecorator instances. |
| Method Detail |
|---|
T newTypeAdapter(SourcePropertyAccessor sourcePropertyAccessor)
sourcePropertyAccessor - SourcePropertyAccessor
T newTypeAdapter(SourcePropertyAccessor sourcePropertyAccessor,
SourcePropertyAccessorDecorator[] sourcePropertyAccessorDecorators,
MethodInvocationHandlerDecorator[] methodInvocationHandlerDecorators)
newTypeAdapter(SourcePropertyAccessor) but allows to add further
SourcePropertyAccessorDecorator and MethodInvocationHandlerDecorator instances.
sourcePropertyAccessor - SourcePropertyAccessorsourcePropertyAccessorDecorators - SourcePropertyAccessorDecoratormethodInvocationHandlerDecorators - MethodInvocationHandlerDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||