package saker.rmi.connection
public final class ConstructorTransferProperties<C> extends ExecutableTransferProperties<Constructor<C>>
Specifies how the method parameters should be transferred when a constructor is called via RMI.
The Builder should be used for construction, or the constructor
ConstructorTransferProperties(
CThe declaring class of the constructor.
| public static final class | Builder class for custom construction of constructor properties. |
| public | ConstructorTransferProperties( Creates an instance by examining the annotations on the parameters of the constructor. |
| public static < | builder( Creates a new builder instance for this class. |
| public Class< | Gets the resulting type of the object construction. |
From: ExecutableTransferProperties< |
From: Object |
public ConstructorTransferProperties(Constructor<C> constructor ) throws RMIInvalidConfigurationException
Creates an instance by examining the annotations on the parameters of the constructor.
The annotations of the given method is examined and a configuration is parsed for use.
See the possible method and parameter annotations for more information. (package
saker.rmi.annot.invoke and package saker.rmi.annot.transfer)
constructorThe constructor for this properties.
RMIInvalidConfigurationExceptionIf the configuration is invalid.
public static <C> Builder<C> builder(Constructor<C> constructor )
Creates a new builder instance for this class.
constructorThe constructor to create the builder for.
The builder instance.
Gets the resulting type of the object construction.
The constructor result type.