public interface DbmsHandlerComponent
DbmsTypes
currently installed in the Speedment platform.Modifier and Type | Method and Description |
---|---|
Optional<DbmsType> |
findByName(String dbmsTypeName)
Searches for the specified
DbmsType by its name as defined by
DbmsType.getName() . |
void |
install(DbmsType dbmsType)
Installs a new
DbmsType so that handlers can be located using the
findByName(String) method. |
Stream<DbmsType> |
supportedDbmsTypes()
Returns a stream of all
DbmsTypes that has been
installed in this component. |
void install(DbmsType dbmsType)
DbmsType
so that handlers can be located using the
findByName(String)
method.
The type will be indexed by its name as returned by
DbmsType.getName()
. If multiple DbmsTypes
share name,
only the most recently installed will be saved.
dbmsType
- the type to installStream<DbmsType> supportedDbmsTypes()
DbmsTypes
that has been
installed in this component.Copyright © 2018 Speedment, Inc.. All rights reserved.