Package org.teiid.transport
Class ClientServiceRegistryImpl
- java.lang.Object
-
- org.teiid.transport.ClientServiceRegistryImpl
-
- All Implemented Interfaces:
ClientServiceRegistry
- Direct Known Subclasses:
TransportService
public abstract class ClientServiceRegistryImpl extends Object implements ClientServiceRegistry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientServiceRegistryImpl.ClientService
-
Nested classes/interfaces inherited from interface org.teiid.transport.ClientServiceRegistry
ClientServiceRegistry.Type
-
-
Constructor Summary
Constructors Constructor Description ClientServiceRegistryImpl()
ClientServiceRegistryImpl(ClientServiceRegistry.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationType
getAuthenticationType()
Provides the authentication type for pre-8.7 JDBC clients.<T> T
getClientService(Class<T> iface)
ClientServiceRegistryImpl.ClientService
getClientService(String iface)
SecurityHelper
getSecurityHelper()
VDBRepository
getVDBRepository()
<T> void
registerClientService(Class<T> iface, T instance, String loggingContext)
void
setAuthenticationType(AuthenticationType authenticationType)
void
setSecurityHelper(SecurityHelper securityHelper)
void
setVDBRepository(VDBRepository vdbRepository)
void
waitForFinished(VDBKey vdbKey, int timeOutMillis)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.teiid.transport.ClientServiceRegistry
getCallerClassloader
-
-
-
-
Constructor Detail
-
ClientServiceRegistryImpl
public ClientServiceRegistryImpl()
-
ClientServiceRegistryImpl
public ClientServiceRegistryImpl(ClientServiceRegistry.Type type)
-
-
Method Detail
-
setAuthenticationType
public void setAuthenticationType(AuthenticationType authenticationType)
-
getClientService
public <T> T getClientService(Class<T> iface) throws ComponentNotFoundException
- Specified by:
getClientService
in interfaceClientServiceRegistry
- Throws:
ComponentNotFoundException
-
getClientService
public ClientServiceRegistryImpl.ClientService getClientService(String iface) throws ComponentNotFoundException
- Throws:
ComponentNotFoundException
-
registerClientService
public <T> void registerClientService(Class<T> iface, T instance, String loggingContext)
-
getSecurityHelper
public SecurityHelper getSecurityHelper()
- Specified by:
getSecurityHelper
in interfaceClientServiceRegistry
-
setSecurityHelper
public void setSecurityHelper(SecurityHelper securityHelper)
-
getAuthenticationType
public AuthenticationType getAuthenticationType()
Description copied from interface:ClientServiceRegistry
Provides the authentication type for pre-8.7 JDBC clients.- Specified by:
getAuthenticationType
in interfaceClientServiceRegistry
- Returns:
-
waitForFinished
public void waitForFinished(VDBKey vdbKey, int timeOutMillis) throws ConnectionException
- Specified by:
waitForFinished
in interfaceClientServiceRegistry
- Throws:
ConnectionException
-
getVDBRepository
public VDBRepository getVDBRepository()
- Specified by:
getVDBRepository
in interfaceClientServiceRegistry
-
setVDBRepository
public void setVDBRepository(VDBRepository vdbRepository)
-
-