public class IOService
extends java.lang.Object
Constructor and Description |
---|
IOService()
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addReader(IReader reader)
This method is used by the underlying OSGi framework to
add available IReaders exposed as a Declarative Service.
|
void |
addTemplatedReader(ITemplatedReader templatedReader)
This method is used by the underlying OSGi framework to
add available ITemplatedReaders exposed as a Declarative Service.
|
void |
addTemplatedWriter(ITemplatedWriter writer)
This method is used by the underlying OSGi framework to
add available ITemplatedWriters exposed as a Declarative Service.
|
void |
addWriter(IWriter writer)
This method is used by the underlying OSGi framework to
add available IWriters exposed as a Declarative Service.
|
int |
getNumberOfReaders()
Return the total number of stored IReader realizations.
|
int |
getNumberOfWriters()
Return the total number of stored IWriter realizations.
|
IReader |
getReader(java.lang.String readerType)
Return the IReader realization of type readerType.
|
ITemplatedReader |
getTemplatedReader(java.lang.String readerType)
Return the ITemplatedReader realization of type readerType.
|
ITemplatedWriter |
getTemplatedWriter(java.lang.String writerType)
Return the ITemplatedWriter realization of type writerType.
|
IWriter |
getWriter(java.lang.String writerType)
Return the IWriter realization of type writerType.
|
public void addReader(IReader reader)
reader
- The IReader realization exposed as a Declarative Service.public void addTemplatedReader(ITemplatedReader templatedReader)
templatedReader
- The ITemplatedReader realization exposed as a Declarative Service.public void addWriter(IWriter writer)
writer
- The IWriter realization exposed as a Declarative Service.public void addTemplatedWriter(ITemplatedWriter writer)
writer
- The ITemplatedWriter realization exposed as a Declarative Service.public IReader getReader(java.lang.String readerType)
readerType
- The IReader type to return.public ITemplatedReader getTemplatedReader(java.lang.String readerType)
readerType
- The ITemplatedReader type to return.public IWriter getWriter(java.lang.String writerType)
writerType
- The IWriter type to return.public ITemplatedWriter getTemplatedWriter(java.lang.String writerType)
writerType
- The ITemplatedWriter type to return.public int getNumberOfReaders()
public int getNumberOfWriters()