|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IAuxiliaryImportServices
Interface maintains a model of
all auxiliary services required to perform an import operation.
Note: This class/interface is part of an interim API that is still
under development and expected to change significantly before reaching
stability.
Field Summary | |
static String |
IMPORT_LOG
Predefined Service Identifier to reference the import log instance from a service model. |
static String |
IMPORT_LOG_SERVICE
Predefined Service Identifier to reference the import log service from this model |
static String |
IMPORT_ROLLBACK_MANAGER
Predefined Service Identifier to reference the import rollback manager from this model |
Method Summary | |
IImportLogService |
getImportLogService()
Retrieves an instance of the import logging service - IImportLogService |
IRollbackManager |
getRollbackManager()
Retrieves an instance of the import action manager - IImportActionManager |
Object |
getService(String serviceID)
Retrieve the service associated with the given serviceID. |
void |
registerService(String serviceID,
Object service)
Associate a service instance with a serviceID. |
void |
registerService(String serviceID,
Object service,
IAuxiliaryImportServiceValidator validator)
Associate a service instance with a serviceID and a validator. |
IStatus |
validateService(String serviceID)
Validate the service registered with the model for the given serviceID. |
Field Detail |
public static final String IMPORT_ROLLBACK_MANAGER
public static final String IMPORT_LOG_SERVICE
public static final String IMPORT_LOG
Method Detail |
public Object getService(String serviceID)
serviceID
- is the identifier associated with a service registered with
this model.
null
if no association can be found.
IllegalArgumentException
- if serviceID is null
.public void registerService(String serviceID, Object service)
serviceID
- is the given identifier for the service instance to be
registered with.service
- is the instance of the service to be associated with the given
serviceID.
IllegalArgumentException
- if serviceID is null
.public void registerService(String serviceID, Object service, IAuxiliaryImportServiceValidator validator)
serviceID
- is the given identifier for the service instance to be
registered with.service
- is the instance of the service to be associated with the given
serviceID.validator
- is the callback validator associated with the serviceID. The
validator is invoked whenever validateService for this
serviceID is invoked. If this argument is null
it is equivalent to invoking
registerService
method.
IllegalArgumentException
- if serviceID is null
.public IStatus validateService(String serviceID)
serviceID
- is the identifier associated with a service registered with
this model.
IllegalArgumentException
- if serviceID parameter is null
.public IRollbackManager getRollbackManager()
IImportActionManager
public IImportLogService getImportLogService()
IImportLogService
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.