Entity - the domain model entity being synchronizedExportedEntity - the type that is used to represent the entity in the export filepublic interface Synchronizer<Entity,ExportedEntity>
| Modifier and Type | Method and Description |
|---|---|
Exporter<Entity,ExportedEntity> |
getExporter()
The exporter to use to export the entities.
|
Importer<Entity,ExportedEntity> |
getImporter()
The importer to import the entities with.
|
Set<ConsistencyValidator> |
getRequiredValidators()
The set of validators that are required to validate the
state of the export or the current installation during import.
|
void |
initialize(org.rhq.core.domain.auth.Subject subject,
javax.persistence.EntityManager entityManager)
Initializes the synchronizer so that it can access database
and is authorization aware.
|
void initialize(org.rhq.core.domain.auth.Subject subject,
javax.persistence.EntityManager entityManager)
subject - the currently logged in userentityManager - the entity manager to access the database with (if not using one
of the RHQ's SLSBs)Exporter<Entity,ExportedEntity> getExporter()
Importer<Entity,ExportedEntity> getImporter()
Set<ConsistencyValidator> getRequiredValidators()
The validators need not to be initialized.
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.