Package org.pentaho.di.shared
Class DatabaseConnectionManager
java.lang.Object
org.pentaho.di.shared.BaseSharedObjectsManager<org.pentaho.di.core.database.DatabaseMeta>
org.pentaho.di.shared.DatabaseConnectionManager
- All Implemented Interfaces:
org.pentaho.di.core.bowl.CachingManager,DatabaseManagementInterface,SharedObjectsManagementInterface<org.pentaho.di.core.database.DatabaseMeta>
public class DatabaseConnectionManager
extends BaseSharedObjectsManager<org.pentaho.di.core.database.DatabaseMeta>
implements DatabaseManagementInterface
This class uses the SharedObjectsIO to retrieve and save shared objects. This is used by the UI.
This class caches the state of the underlying SharedObjectsIO, and does not re-read from the source. Only changes written through this interface will be reflected.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFactory for the DatabaseConnectionManager. -
Field Summary
FieldsFields inherited from class org.pentaho.di.shared.BaseSharedObjectsManager
sharedObjectsIO -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDatabaseConnectionManager(org.pentaho.di.shared.SharedObjectsIO sharedObjectsIO) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.pentaho.di.core.database.DatabaseMetaThis method is called while populating the sharedObjectMap to create concrete SharedObjectInterface implementation class.static DatabaseConnectionManagergetInstance(org.pentaho.di.core.bowl.Bowl bowl) Create an instance of SharedObjectManager using the Bowl's SharedObjectIOMethods inherited from class org.pentaho.di.shared.BaseSharedObjectsManager
add, addSubscriber, clear, clearCache, get, getAll, notifyChanged, remove, remove, reset
-
Field Details
-
DB_TYPE
-
-
Constructor Details
-
Method Details
-
getInstance
Create an instance of SharedObjectManager using the Bowl's SharedObjectIO- Parameters:
bowl-- Returns:
-