- All Superinterfaces:
ProxyAccessor,ProxyAccessor.ProxyMutator
- Enclosing interface:
- ProxyAccessor
public static interface ProxyAccessor.ProxyProperty extends ProxyAccessor, ProxyAccessor.ProxyMutator
Provides a proxy property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.remoting.ProxyAccessor
ProxyAccessor.ProxyBuilder<B extends ProxyAccessor.ProxyBuilder<B>>, ProxyAccessor.ProxyMutator, ProxyAccessor.ProxyProperty -
Method Summary
Modifier and Type Method Description default <P> PletProxy(P aProxy)This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofProxyAccessor.ProxyMutator.setProxy(Object)and returns the very same value (getter).Methods inherited from interface org.refcodes.remoting.ProxyAccessor
getProxyMethods inherited from interface org.refcodes.remoting.ProxyAccessor.ProxyMutator
setProxy
-
Method Details
-
letProxy
default <P> P letProxy(P aProxy)This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofProxyAccessor.ProxyMutator.setProxy(Object)and returns the very same value (getter).- Type Parameters:
P- The expected type of the proxy.- Parameters:
aProxy- The value to set (viaProxyAccessor.ProxyMutator.setProxy(Object)).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-