/** * Determine whether this chain of delegating factories delegates through an instance of the given class. * * @param factoryClass the SASL server factory class * @return {@code true} if this chain delegates through the factory class, {@code false} otherwise */ public final boolean delegatesThrough(Class<? extends SaslServerFactory> factoryClass) { return factoryClass != null && delegatesThroughNN(factoryClass); }
boolean delegatesThroughNN(Class<? extends SaslServerFactory> factoryClass) { return factoryClass.isInstance(this) || delegate instanceof AbstractDelegatingSaslServerFactory && ((AbstractDelegatingSaslServerFactory) delegate).delegatesThroughNN(factoryClass); }
/** * Determine whether this chain of delegating factories delegates through an instance of the given class. * * @param factoryClass the SASL server factory class * @return {@code true} if this chain delegates through the factory class, {@code false} otherwise */ public final boolean delegatesThrough(Class<? extends SaslServerFactory> factoryClass) { return factoryClass != null && delegatesThroughNN(factoryClass); }
/** * Determine whether this chain of delegating factories delegates through an instance of the given class. * * @param factoryClass the SASL server factory class * @return {@code true} if this chain delegates through the factory class, {@code false} otherwise */ public final boolean delegatesThrough(Class<? extends SaslServerFactory> factoryClass) { return factoryClass != null && delegatesThroughNN(factoryClass); }
/** * Determine whether this chain of delegating factories delegates through an instance of the given class. * * @param factoryClass the SASL server factory class * @return {@code true} if this chain delegates through the factory class, {@code false} otherwise */ public final boolean delegatesThrough(Class<? extends SaslServerFactory> factoryClass) { return factoryClass != null && delegatesThroughNN(factoryClass); }
boolean delegatesThroughNN(Class<? extends SaslServerFactory> factoryClass) { return factoryClass.isInstance(this) || delegate instanceof AbstractDelegatingSaslServerFactory && ((AbstractDelegatingSaslServerFactory) delegate).delegatesThroughNN(factoryClass); }
boolean delegatesThroughNN(Class<? extends SaslServerFactory> factoryClass) { return factoryClass.isInstance(this) || delegate instanceof AbstractDelegatingSaslServerFactory && ((AbstractDelegatingSaslServerFactory) delegate).delegatesThroughNN(factoryClass); }
boolean delegatesThroughNN(Class<? extends SaslServerFactory> factoryClass) { return factoryClass.isInstance(this) || delegate instanceof AbstractDelegatingSaslServerFactory && ((AbstractDelegatingSaslServerFactory) delegate).delegatesThroughNN(factoryClass); }