org.omnaest.utils.proxy
Class MethodCallCapturer.CapturedTypeInstanceCreationConfiguration
java.lang.Object
org.omnaest.utils.proxy.MethodCallCapturer.CapturedTypeInstanceCreationConfiguration
- Enclosing class:
- MethodCallCapturer
protected static class MethodCallCapturer.CapturedTypeInstanceCreationConfiguration
- extends Object
Configuration object when a MethodCallCapturer creates a new stub instance.
- Author:
- Omnaest
- See Also:
MethodCallCapturer.newInstanceOfCapturedType(CapturedTypeInstanceCreationConfiguration)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected Class<?> type
interfaces
protected Class<?>[] interfaces
isCreatingTransitiveStubs
protected boolean isCreatingTransitiveStubs
previousMethodCallCaptureContext
protected MethodCallCapturer.MethodCallCaptureContext previousMethodCallCaptureContext
MethodCallCapturer.CapturedTypeInstanceCreationConfiguration
public MethodCallCapturer.CapturedTypeInstanceCreationConfiguration(Class<?> type,
Class<?>[] interfaces,
boolean isCreatingTransitiveStubs)
getType
public Class<?> getType()
- Returns:
setType
public void setType(Class<?> type)
- Parameters:
type -
getInterfaces
public Class<?>[] getInterfaces()
- Returns:
setInterfaces
public void setInterfaces(Class<?>[] interfaces)
- Parameters:
interfaces -
isCreatingTransitiveStubs
public boolean isCreatingTransitiveStubs()
- Returns:
setCreatingTransitiveStubs
public void setCreatingTransitiveStubs(boolean isCreatingTransitiveStubs)
- Parameters:
isCreatingTransitiveStubs -
isMethodCallCapturerAware
protected boolean isMethodCallCapturerAware()
- Returns true, if the stub implements the
MethodCallCapturer.MethodCallCapturerAware interface.
- Returns:
getPreviousMethodCallCaptureContext
protected MethodCallCapturer.MethodCallCaptureContext getPreviousMethodCallCaptureContext()
setPreviousMethodCallCaptureContext
protected void setPreviousMethodCallCaptureContext(MethodCallCapturer.MethodCallCaptureContext previousMethodCallCaptureContext)
Copyright © 2013. All Rights Reserved.