Package org.teiid.transport
Class ClientServiceRegistryImpl
- java.lang.Object
-
- org.teiid.transport.ClientServiceRegistryImpl
-
- All Implemented Interfaces:
ClientServiceRegistry
public abstract class ClientServiceRegistryImpl extends Object implements ClientServiceRegistry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientServiceRegistryImpl.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 AuthenticationTypegetAuthenticationType()Provides the authentication type for pre-8.7 JDBC clients.<T> TgetClientService(Class<T> iface)ClientServiceRegistryImpl.ClientServicegetClientService(String iface)SecurityHelpergetSecurityHelper()VDBRepositorygetVDBRepository()<T> voidregisterClientService(Class<T> iface, T instance, String loggingContext)voidsetAuthenticationType(AuthenticationType authenticationType)voidsetSecurityHelper(SecurityHelper securityHelper)voidsetVDBRepository(VDBRepository vdbRepository)voidwaitForFinished(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:
getClientServicein 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:
getSecurityHelperin interfaceClientServiceRegistry
-
setSecurityHelper
public void setSecurityHelper(SecurityHelper securityHelper)
-
getAuthenticationType
public AuthenticationType getAuthenticationType()
Description copied from interface:ClientServiceRegistryProvides the authentication type for pre-8.7 JDBC clients.- Specified by:
getAuthenticationTypein interfaceClientServiceRegistry- Returns:
-
waitForFinished
public void waitForFinished(VDBKey vdbKey, int timeOutMillis) throws ConnectionException
- Specified by:
waitForFinishedin interfaceClientServiceRegistry- Throws:
ConnectionException
-
getVDBRepository
public VDBRepository getVDBRepository()
- Specified by:
getVDBRepositoryin interfaceClientServiceRegistry
-
setVDBRepository
public void setVDBRepository(VDBRepository vdbRepository)
-
-