public class OpenShiftAccessInterfaceImpl extends Object implements OpenShiftAccessInterface, org.uberfire.commons.lifecycle.Disposable
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
OpenShiftAccessInterfaceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
OpenShiftClient |
getOpenShiftClient(ProviderId providerId)
Gets the OpenShift Client for the provided ProviderId.
|
OpenShiftClient |
newOpenShiftClient(ProviderConfig providerConfig)
Always creates a new OpenShiftClient with the provided Provider configuration.
|
public OpenShiftClient getOpenShiftClient(ProviderId providerId)
OpenShiftAccessInterface
getOpenShiftClient
in interface OpenShiftAccessInterface
providerId
- the ProviderIdthe (potentially cached) OpenShiftClient
public OpenShiftClient newOpenShiftClient(ProviderConfig providerConfig)
OpenShiftAccessInterface
newOpenShiftClient
in interface OpenShiftAccessInterface
providerConfig
- the Provider configurationthe (not-cached) OpenShiftClient
public void dispose()
dispose
in interface org.uberfire.commons.lifecycle.Disposable
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.