public class BasicVizServiceFactory extends java.lang.Object implements IVizServiceFactory
Constructor and Description |
---|
BasicVizServiceFactory()
The constructor
|
Modifier and Type | Method and Description |
---|---|
IVizService |
get()
This operation returns the default IVizService provided by the factory,
which is entirely up to the factory, or null if the factory does not
contain a default service.
|
IVizService |
get(java.lang.String serviceName)
This operation returns the IVizService with the given name or null it if
is unavailable.
|
java.lang.String[] |
getServiceNames()
This operation returns the names of all of the IVizServices registered
with the factory.
|
void |
register(IVizService service)
This operation registers an IVizService with the factory so that it can
be retrieved and used by clients.
|
void |
start()
This operation starts the service, including registering the basic CSV
plotter viz service, "ice-plot," with the platform.
|
void |
unregister(IVizService service)
This operation unregisters an IVizService with the factory so that it
will no longer be used by clients.
|
public IVizService get()
IVizServiceFactory
get
in interface IVizServiceFactory
public IVizService get(java.lang.String serviceName)
IVizServiceFactory
get
in interface IVizServiceFactory
serviceName
- The name of the service to findpublic java.lang.String[] getServiceNames()
IVizServiceFactory
getServiceNames
in interface IVizServiceFactory
public void register(IVizService service)
IVizServiceFactory
The factory will register the IVizService's preference page with the platform when this operation is called and if the IVizService has properties.
register
in interface IVizServiceFactory
service
- The visualization service to registerpublic void start()
public void unregister(IVizService service)
IVizServiceFactory
unregister
in interface IVizServiceFactory
service
- The visualization service to register