Make PulsarClientProxy package protected (#459)
This commit is contained in:
@@ -32,7 +32,6 @@ import org.apache.pulsar.reactive.client.api.ReactivePulsarClient;
|
||||
import org.springframework.core.log.LogAccessor;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.pulsar.core.DefaultTopicResolver;
|
||||
import org.springframework.pulsar.core.PulsarClientProxy;
|
||||
import org.springframework.pulsar.core.TopicResolver;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
@@ -149,12 +148,11 @@ public final class DefaultReactivePulsarSenderFactory<T>
|
||||
/**
|
||||
* Return the phase that this lifecycle object is supposed to run in.
|
||||
* <p>
|
||||
* This component has a phase that comes after the {@link PulsarClientProxy
|
||||
* restartable client} but before other lifecycle and smart lifecycle components whose
|
||||
* phase values are "0" and "max", respectively.
|
||||
* This component has a phase that comes after the restartable client
|
||||
* ({@code PulsarClientProxy}) but before other lifecycle and smart lifecycle
|
||||
* components whose phase values are "0" and "max", respectively.
|
||||
* @return a phase that is after the restartable client and before other default
|
||||
* components.
|
||||
* @see PulsarClientProxy#getPhase()
|
||||
*/
|
||||
@Override
|
||||
public int getPhase() {
|
||||
|
||||
@@ -44,7 +44,7 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* @author Chris Bono
|
||||
*/
|
||||
public final class PulsarClientProxy extends RestartableSingletonFactory<PulsarClient> implements PulsarClient {
|
||||
final class PulsarClientProxy extends RestartableSingletonFactory<PulsarClient> implements PulsarClient {
|
||||
|
||||
private static final int LIFECYCLE_PHASE = (Integer.MIN_VALUE / 2) - 200;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user