|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RFICollectorService
This interface defines all methods which are neccessary for creating a new collector, exploring the list of available listeners and stopping existing ones.
| Field Summary | |
|---|---|
static String |
SERVICE_NAME
|
| Method Summary | |
|---|---|
List<String> |
listCollectors()
This method returns a list of all currently running listeners. |
void |
registerCollector(String file,
Properties props)
This method registers a new collector instance which tracks the given log file. |
void |
unregisterCollector(String file)
This method stops the collector listening on the given file. |
| Field Detail |
|---|
static final String SERVICE_NAME
| Method Detail |
|---|
void registerCollector(String file,
Properties props)
throws RemoteException
file - props -
RemoteException - In case an error occurs such as the file does not
exist or the file-format is not supported. Since
currently only one collector can listen on a file,
an exception is also thrown if a new collector is
registered on a already observed file.
void unregisterCollector(String file)
throws RemoteException
file - The file on which the collector listens.
RemoteException - In case an error occurs.
List<String> listCollectors()
throws RemoteException
RemoteException - In case an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||