|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.batch.ui.BatchServiceManager
public class BatchServiceManager
The BatchServiceManager manages all types of batch services.
It holds an internal list of all currently available batch services. A
| Method Summary | |
|---|---|
void |
addContentChangeListener(IContentChangeListener listener)
Add a new IContentChangeListener to the list of listeners. |
IBatchService |
createService(IBatchServiceDescription description,
java.lang.String name)
Create a new batch service from the specified service description and adds it to the list of managed services. |
void |
destroyService(IBatchService service)
Destroy the specified IBatchService. |
IBatchService |
findToken(IBatchServiceDescription description)
Searches for a batch service that matches the specified description. |
static BatchServiceManager |
getManager()
Get the singleton. |
int |
getServiceCount()
Get the number of currently available services. |
java.util.List<IBatchService> |
getServices()
Get all services that are currently available. |
java.util.List<IBatchService> |
getServices(java.lang.String typeName)
Get all services that are currently available based on their unique type name. |
boolean |
isEmpty()
Determine if this service manager's list of managed services is currently empty. |
void |
removeContentChangeListener(IContentChangeListener listener)
Remove the specified IContentChangeListener from the list of listener. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BatchServiceManager getManager()
BatchServiceManager
that is created and returned by this method.
public IBatchService createService(IBatchServiceDescription description,
java.lang.String name)
throws ProblemException
description - The description from which to create the new batch service.name - batch service name, i.e. the configuration file that were
used to instantiate this service
ProblemException - If an error occurs while creating the serviceIBatchServiceDescription.createService( String name )public IBatchService findToken(IBatchServiceDescription description)
null is returned.
description - The IBatchServiceDescription that describes the service.
public java.util.List<IBatchService> getServices()
public java.util.List<IBatchService> getServices(java.lang.String typeName)
typeName - The unique type name.
public void destroyService(IBatchService service)
IBatchService. This means especially that the
specified service is removed from the list of currently managed services. Therefore this
service is not longer accessible from this manager and should not longer be used.
service - The IBatchService to be destroyed.public int getServiceCount()
public boolean isEmpty()
public void addContentChangeListener(IContentChangeListener listener)
IContentChangeListener to the list of listeners. The listeners are
always informed when a new service is added to or an old service is removed from the
internal list of managed services.
listener - The IContentChangeListener that should be added to the list
of listeners.removeContentChangeListener(IContentChangeListener),
org.eclipse.compare.IContentChangeNotifier#addContentChangeListener(org.eclipse.compare.IContentChangeListener)public void removeContentChangeListener(IContentChangeListener listener)
IContentChangeListener from the list of listener. This
listener will not longer be informed about changes made to the list of managed services.
listener - The IContentChangeListener that should be removed.org.eclipse.compare.IContentChangeNotifier#removeContentChangeListener(org.eclipse.compare.IContentChangeListener)
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||