Uses of Interface
eu.cloudnetservice.driver.network.rpc.factory.RPCImplementationBuilder.InstanceAllocator
Packages that use RPCImplementationBuilder.InstanceAllocator
-
Uses of RPCImplementationBuilder.InstanceAllocator in eu.cloudnetservice.driver.network.rpc.factory
Methods in eu.cloudnetservice.driver.network.rpc.factory that return RPCImplementationBuilder.InstanceAllocatorModifier and TypeMethodDescriptionRPCImplementationBuilder.InstanceAllocator.appendConstructorParameters(Object... parameters) Appends the given parameters to the current parameter array.RPCImplementationBuilder.InstanceAllocator.changeConstructorParameter(int index, Object newConstructorParameter) Changes the parameter value at the given index to use the given parameter type instead.RPCImplementationBuilder.generateImplementation()Generates an implementation of the target class and returns an allocator which can be used to construct an instance of the generated class.RPCImplementationBuilder.InstanceAllocator.insertConstructorParameters(int index, Object... parameters) Adds the parameters from the given starting index into the constructor parameter array.RPCImplementationBuilder.InstanceAllocator.withAdditionalConstructorParameters(Object... additionalConstructorParameters) Sets the additional constructor parameters which should be passed to the super constructor when allocating an instance of the generated api implementation.RPCImplementationBuilder.InstanceAllocator.withBaseRPC(@Nullable ChainableRPC baseRPC) Returns a new instance allocator which uses the given base rpc when constructing the underlying implementation.RPCImplementationBuilder.InstanceAllocator.withTargetChannel(@NonNull Supplier<NetworkChannel> channelSupplier) Returns a new instance allocator which uses the given channel supplier when constructing the underlying implementation.