Uses of Class
eu.cloudnetservice.driver.impl.network.rpc.generation.RPCInternalInstanceFactory
Packages that use RPCInternalInstanceFactory
-
Uses of RPCInternalInstanceFactory in eu.cloudnetservice.driver.impl.network.rpc.generation
Modifier and TypeClassDescription(package private) static final classAn instance factory implementation that is temporarily not delegated (during class construction) to prevent issues with circular class references.Fields in eu.cloudnetservice.driver.impl.network.rpc.generation declared as RPCInternalInstanceFactoryModifier and TypeFieldDescriptionprivate final RPCInternalInstanceFactory[]RPCInternalInstanceFactory.additionalInstanceFactoriesprivate RPCInternalInstanceFactoryRPCInternalInstanceFactory.TempRPCInternalInstanceFactory.delegateprivate final @NonNull RPCInternalInstanceFactoryRPCGenerationContext.AdditionalInstanceFactoryField.instanceFactoryThe field for theinstanceFactoryrecord component.private final @NonNull RPCInternalInstanceFactoryDefaultRPCImplementationBuilder.DefaultInstanceAllocator.internalInstanceFactoryThe field for theinternalInstanceFactoryrecord component.Fields in eu.cloudnetservice.driver.impl.network.rpc.generation with type parameters of type RPCInternalInstanceFactoryModifier and TypeFieldDescriptionprivate final com.github.benmanes.caffeine.cache.Cache<RPCGenerationCache.CacheKey, RPCInternalInstanceFactory> RPCGenerationCache.cachedGeneratedImplementationMethods in eu.cloudnetservice.driver.impl.network.rpc.generation that return RPCInternalInstanceFactoryModifier and TypeMethodDescriptionRPCGenerationCache.getOrGenerateImplementation(int generationFlags, @NonNull eu.cloudnetservice.driver.network.rpc.RPCSender rpcSender, @NonNull RPCClassMetadata baseClassMeta) Gets an existing instance factory for the target class wrapped in the given target class metadata.(package private) @NonNull RPCInternalInstanceFactoryRPCGenerationCache.getOrGenerateImplementation(int generationFlags, @NonNull Class<?> senderTargetType, @NonNull RPCClassMetadata baseClassMeta) Gets an existing instance factory for the target class wrapped in the given target class metadata.RPCGenerationContext.AdditionalInstanceFactoryField.instanceFactory()Returns the value of theinstanceFactoryrecord component.DefaultRPCImplementationBuilder.DefaultInstanceAllocator.internalInstanceFactory()Returns the value of theinternalInstanceFactoryrecord component.RPCInternalInstanceFactory.make(int userArgCount, MethodHandles.Lookup lookup, @NonNull Runnable allocationNotifier, @NonNull eu.cloudnetservice.driver.network.rpc.RPCSender classRPCSender, @NonNull RPCInternalInstanceFactory[] additionalInstanceFactories) Constructs a new internal instance factory for the generated rpc api implementation class.Methods in eu.cloudnetservice.driver.impl.network.rpc.generation that return types with arguments of type RPCInternalInstanceFactoryModifier and TypeMethodDescriptionRPCGenerationContext.additionalInstanceFactories()Get the additional instance factories that were registered during the implementation build process.Methods in eu.cloudnetservice.driver.impl.network.rpc.generation with parameters of type RPCInternalInstanceFactoryModifier and TypeMethodDescriptionRPCGenerationContext.AdditionalInstanceFactoryField.forFactory(@NonNull Class<?> targetType, @NonNull RPCInternalInstanceFactory instanceFactory) Constructs a field that holds an additional instance factory for the given target type.RPCInternalInstanceFactory.make(int userArgCount, MethodHandles.Lookup lookup, @NonNull Runnable allocationNotifier, @NonNull eu.cloudnetservice.driver.network.rpc.RPCSender classRPCSender, @NonNull RPCInternalInstanceFactory[] additionalInstanceFactories) Constructs a new internal instance factory for the generated rpc api implementation class.RPCGenerationContext.registerAdditionalInstanceFactory(@NonNull Class<?> targetType, @NonNull RPCInternalInstanceFactory factory) Registers an additional instance factory that will be injected into the generated class during instantiation.voidRPCInternalInstanceFactory.TempRPCInternalInstanceFactory.setDelegate(@NonNull RPCInternalInstanceFactory delegate) Sets the delegate instance factory if that didn't happen yet.Constructors in eu.cloudnetservice.driver.impl.network.rpc.generation with parameters of type RPCInternalInstanceFactoryModifierConstructorDescriptionprivateAdditionalInstanceFactoryField(@NonNull String name, @NonNull Class<?> targetType, @NonNull RPCInternalInstanceFactory instanceFactory) Creates an instance of aAdditionalInstanceFactoryFieldrecord class.privateDefaultInstanceAllocator(@Nullable eu.cloudnetservice.driver.network.rpc.ChainableRPC baseRPC, @NonNull eu.cloudnetservice.driver.network.rpc.RPCSender classRPCSender, @NonNull Supplier<eu.cloudnetservice.driver.network.NetworkChannel> channelSupplier, @NonNull Object[] additionalConstructorParameters, @NonNull RPCInternalInstanceFactory internalInstanceFactory) Creates an instance of aDefaultInstanceAllocatorrecord class.privateRPCInternalInstanceFactory(int userArgCount, @NonNull Runnable allocationNotifier, @NonNull eu.cloudnetservice.driver.network.rpc.RPCSender fallbackClassRPCSender, @NonNull RPCInternalInstanceFactory[] additionalInstanceFactories, @NonNull MethodHandle constructorMethodHandle) Constructs a new internal instance factory.