public interface TypeMapperComponent extends Component
Lifecyclable.State
LIFECYCLABLE_LOGGER
Modifier and Type | Method and Description |
---|---|
Optional<TypeMapper<?,?>> |
get(String absoluteClassName)
Retreive and return the type mapper with the specified absolute class
name.
|
default Class<TypeMapperComponent> |
getComponentClass()
Returns the Component interface Class this Component implements.
|
void |
install(Supplier<TypeMapper<?,?>> typeMapperSupplier)
Installs the specified type mapper in this component.
|
Stream<TypeMapper<?,?>> |
stream()
Streams over all the type mappers installed in this component.
|
asSoftware, defaultCopy, getSpeedment, isInternal
getState, initialize, isInitialized, isLoaded, isResolved, isStarted, isStopped, load, onInitialize, onLoad, onResolve, onStart, onStop, postStop, preInitialize, preLoad, preResolve, preStart, preStop, resolve, setState, start, stop
default Class<TypeMapperComponent> getComponentClass()
Component
getComponentClass
in interface Component
void install(Supplier<TypeMapper<?,?>> typeMapperSupplier)
typeMapperSupplier
- the constructor for a mapper to installStream<TypeMapper<?,?>> stream()
Optional<TypeMapper<?,?>> get(String absoluteClassName)
absoluteClassName
- the name as returned by Class.getName()
Copyright © 2016 Speedment, Inc.. All rights reserved.