Package org.n52.svalbard.encode.stream
Class StreamWriterRepository
- java.lang.Object
-
- org.n52.janmayen.component.AbstractSimilarityKeyRepository<StreamWriterKey,StreamWriter<?>>
-
- org.n52.svalbard.encode.stream.StreamWriterRepository
-
- All Implemented Interfaces:
org.n52.janmayen.lifecycle.Constructable
public class StreamWriterRepository extends org.n52.janmayen.component.AbstractSimilarityKeyRepository<StreamWriterKey,StreamWriter<?>> implements org.n52.janmayen.lifecycle.Constructable
TODO JavaDoc
-
-
Constructor Summary
Constructors Constructor Description StreamWriterRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> java.util.Optional<StreamWriter<? super T>>getWriter(org.n52.janmayen.http.MediaType mediaType, java.lang.Class<? extends T> type)<T> java.util.Optional<StreamWriter<? super T>>getWriter(StreamWriterKey key)voidinit()voidset(java.util.Optional<java.util.Collection<javax.inject.Provider<StreamWriter<?>>>> writers)
-
-
-
Method Detail
-
init
public void init()
- Specified by:
initin interfaceorg.n52.janmayen.lifecycle.Constructable
-
getWriter
public <T> java.util.Optional<StreamWriter<? super T>> getWriter(org.n52.janmayen.http.MediaType mediaType, java.lang.Class<? extends T> type)
-
getWriter
public <T> java.util.Optional<StreamWriter<? super T>> getWriter(StreamWriterKey key)
-
set
@Inject public void set(java.util.Optional<java.util.Collection<javax.inject.Provider<StreamWriter<?>>>> writers)
-
-