|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Entity - the domain model entity being synchronizedExportedEntity - the type that is used to represent the entity in the export filepublic interface Synchronizer<Entity,ExportedEntity>
Represents a synchronizer that can export and import entities.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||