public interface ActiveObjectsModuleMetaData
| Modifier and Type | Method and Description |
|---|---|
void |
awaitInitialization()
Awaits initialization of the ActiveObjects model,this method will block until the active objects schema has been
initialized for the current data source.
|
void |
awaitInitialization(long timeout,
TimeUnit unit)
|
DatabaseType |
getDatabaseType() |
boolean |
isDataSourcePresent()
Indicates whether there is a data source (i.e.
|
boolean |
isInitialized()
Indicates if initialization has completed successfully.
|
boolean |
isTablePresent(Class<? extends net.java.ao.RawEntity<?>> type)
Checks if the table corresponding to given type exists in the database.
|
void awaitInitialization()
throws ExecutionException,
InterruptedException
This method cannot be called from within an UpgradeTask
Blocks indefinitely.
void awaitInitialization(long timeout,
TimeUnit unit)
throws InterruptedException,
ExecutionException,
TimeoutException
timeout - the maximum time to waitunit - the time unit of the timeout argumentInterruptedExceptionExecutionExceptionTimeoutExceptionboolean isInitialized()
DatabaseType getDatabaseType()
NoDataSourceExceptionboolean isDataSourcePresent()
awaitInitialization(),
awaitInitialization(long, java.util.concurrent.TimeUnit) and getDatabaseType() will not throw a
NoDataSourceExceptionboolean isTablePresent(Class<? extends net.java.ao.RawEntity<?>> type)
type - to check againstCopyright © 2018 Atlassian. All rights reserved.