Package org.teiid.jboss
Class TransportService
- java.lang.Object
-
- org.teiid.transport.ClientServiceRegistryImpl
-
- org.teiid.jboss.TransportService
-
- All Implemented Interfaces:
org.jboss.msc.Service
,org.jboss.msc.service.Service<ClientServiceRegistry>
,org.jboss.msc.value.Value<ClientServiceRegistry>
,ClientServiceRegistry
public class TransportService extends ClientServiceRegistryImpl implements org.jboss.msc.service.Service<ClientServiceRegistry>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teiid.transport.ClientServiceRegistryImpl
ClientServiceRegistryImpl.ClientService
-
Nested classes/interfaces inherited from interface org.teiid.transport.ClientServiceRegistry
ClientServiceRegistry.Type
-
-
Constructor Summary
Constructors Constructor Description TransportService(String transportName)
-
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.org.jboss.msc.value.InjectedValue<BufferManager>
getBufferManagerInjector()
ClassLoader
getCallerClassloader()
org.jboss.msc.value.InjectedValue<DQPCore>
getDqpInjector()
org.jboss.msc.value.InjectedValue<SessionService>
getSessionServiceInjector()
org.jboss.msc.value.InjectedValue<org.jboss.as.network.SocketBinding>
getSocketBindingInjector()
SocketConfiguration
getSocketConfig()
ClientServiceRegistry
getValue()
org.jboss.msc.value.InjectedValue<VDBRepository>
getVdbRepositoryInjector()
boolean
isLocal()
void
setAuthenticationType(AuthenticationType authenticationType)
void
setLocal(boolean v)
void
setMaxODBCLobSizeAllowed(int lobSize)
void
setSocketConfig(SocketConfiguration socketConfig)
void
start(org.jboss.msc.service.StartContext context)
void
stop(org.jboss.msc.service.StopContext context)
void
waitForFinished(VDBKey vdbKey, int timeOutMillis)
-
Methods inherited from class org.teiid.transport.ClientServiceRegistryImpl
getClientService, getClientService, getSecurityHelper, getVDBRepository, registerClientService, setSecurityHelper, setVDBRepository
-
-
-
-
Constructor Detail
-
TransportService
public TransportService(String transportName)
-
-
Method Detail
-
getValue
public ClientServiceRegistry getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValue
in interfaceorg.jboss.msc.value.Value<ClientServiceRegistry>
- Throws:
IllegalStateException
IllegalArgumentException
-
waitForFinished
public void waitForFinished(VDBKey vdbKey, int timeOutMillis) throws ConnectionException
- Specified by:
waitForFinished
in interfaceClientServiceRegistry
- Overrides:
waitForFinished
in classClientServiceRegistryImpl
- Throws:
ConnectionException
-
getCallerClassloader
public ClassLoader getCallerClassloader()
- Specified by:
getCallerClassloader
in interfaceClientServiceRegistry
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
- Specified by:
start
in interfaceorg.jboss.msc.Service
- Specified by:
start
in interfaceorg.jboss.msc.service.Service<ClientServiceRegistry>
- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stop
in interfaceorg.jboss.msc.Service
- Specified by:
stop
in interfaceorg.jboss.msc.service.Service<ClientServiceRegistry>
-
getSocketBindingInjector
public org.jboss.msc.value.InjectedValue<org.jboss.as.network.SocketBinding> getSocketBindingInjector()
-
getSocketConfig
public SocketConfiguration getSocketConfig()
-
setSocketConfig
public void setSocketConfig(SocketConfiguration socketConfig)
-
getVdbRepositoryInjector
public org.jboss.msc.value.InjectedValue<VDBRepository> getVdbRepositoryInjector()
-
getDqpInjector
public org.jboss.msc.value.InjectedValue<DQPCore> getDqpInjector()
-
getBufferManagerInjector
public org.jboss.msc.value.InjectedValue<BufferManager> getBufferManagerInjector()
-
getAuthenticationType
public AuthenticationType getAuthenticationType()
Description copied from interface:ClientServiceRegistry
Provides the authentication type for pre-8.7 JDBC clients.- Specified by:
getAuthenticationType
in interfaceClientServiceRegistry
- Overrides:
getAuthenticationType
in classClientServiceRegistryImpl
- Returns:
-
setAuthenticationType
public void setAuthenticationType(AuthenticationType authenticationType)
- Overrides:
setAuthenticationType
in classClientServiceRegistryImpl
-
getSessionServiceInjector
public org.jboss.msc.value.InjectedValue<SessionService> getSessionServiceInjector()
-
setMaxODBCLobSizeAllowed
public void setMaxODBCLobSizeAllowed(int lobSize)
-
setLocal
public void setLocal(boolean v)
-
isLocal
public boolean isLocal()
-
-