Record Class ProxiedServiceRegistration.DelegateToDefaultRegistrationHandler
java.lang.Object
java.lang.Record
eu.cloudnetservice.driver.impl.registry.ProxiedServiceRegistration.DelegateToDefaultRegistrationHandler
- All Implemented Interfaces:
InvocationHandler
- Enclosing class:
ProxiedServiceRegistration<S>
private static record ProxiedServiceRegistration.DelegateToDefaultRegistrationHandler(@NonNull Supplier<Object> delegateSupplier)
extends Record
implements InvocationHandler
- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thedelegateSupplierrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDelegateToDefaultRegistrationHandler(@NonNull Supplier<Object> delegateSupplier) Creates an instance of aDelegateToDefaultRegistrationHandlerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedelegateSupplierrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
delegateSupplier
-
-
Constructor Details
-
DelegateToDefaultRegistrationHandler
-
-
Method Details
-
invoke
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
delegateSupplier
-