saker.rmi Documentation TaskDoc JavaDoc Packages
public final class ConstructorTransferProperties<Cextends 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(Constructor<C>) for annotation based properties parsing.

CThe declaring class of the constructor.
Nested types
public static final class
Builder class for custom construction of constructor properties.
Constructors
public
Creates an instance by examining the annotations on the parameters of the constructor.
Methods
public static <C> Builder<C>
builder(Constructor<C> constructor)
Creates a new builder instance for this class.
public Class<C>
Gets the resulting type of the object construction.
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.
public Class<C> getReturnType()
Gets the resulting type of the object construction.
The constructor result type.