public class WrapperProxettaFactory extends ProxettaFactory<WrapperProxettaFactory,WrapperProxetta>
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class |
targetClassOrInterface |
protected java.lang.String |
targetFieldName |
protected java.lang.Class |
targetInterface |
destClassWriter, proxetta, proxyApplied, proxyClassName, requestedProxyClassName, suffixCounter
Constructor and Description |
---|
WrapperProxettaFactory(WrapperProxetta wrapperProxetta) |
Modifier and Type | Method and Description |
---|---|
void |
injectTargetIntoWrapper(java.lang.Object target,
java.lang.Object wrapper)
Injects target into wrapper.
|
protected WorkData |
process(ClassReader cr,
TargetClassInfoReader targetClassInfoReader)
Creates custom class builder and process the target class with it.
|
WrapperProxettaFactory |
setTarget(java.lang.Class target)
Defines class or interface to wrap.
|
WrapperProxettaFactory |
setTargetFieldName(java.lang.String targetFieldName)
Defines custom target field name.
|
WrapperProxettaFactory |
setTargetInterface(java.lang.Class targetInterface)
Defines the interface of the resulting class.
|
_this, assertProxyIsCreated, create, define, dumpClassInDebugFolder, getProxyClassName, isProxyApplied, newInstance, process, resolveClassNameSuffix, setTarget, setTarget, setTargetProxyClassName, toByteArray
protected java.lang.Class targetClassOrInterface
protected java.lang.Class targetInterface
protected java.lang.String targetFieldName
public WrapperProxettaFactory(WrapperProxetta wrapperProxetta)
public WrapperProxettaFactory setTarget(java.lang.Class target)
setTargetInterface(Class)
.setTarget
in class ProxettaFactory<WrapperProxettaFactory,WrapperProxetta>
public WrapperProxettaFactory setTargetInterface(java.lang.Class targetInterface)
public WrapperProxettaFactory setTargetFieldName(java.lang.String targetFieldName)
protected WorkData process(ClassReader cr, TargetClassInfoReader targetClassInfoReader)
process
in class ProxettaFactory<WrapperProxettaFactory,WrapperProxetta>
public void injectTargetIntoWrapper(java.lang.Object target, java.lang.Object wrapper)
Copyright © 2003-present Jodd Team