|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.metadata.runtime.AbstractVDBDeleteUtility
com.metamatrix.metadata.runtime.StartupVDBDeleteUtility
public class StartupVDBDeleteUtility
Implementation of VDBDeleteUtility to be used while starting the server. This implementation does not need access to running services.
This implementation does not checking of sessions connected to a VDB - it assumes that it's safe to delete all VDBs marked for deletion, because it is meant to be called only at server startup time.
Constructor Summary | |
---|---|
StartupVDBDeleteUtility()
|
Method Summary | |
---|---|
boolean |
checkSessions(VirtualDatabaseID vdbID)
Check for any sessions logged into the specified VDB. |
boolean |
checkSessions(VirtualDatabaseID vdbID,
MetaMatrixSessionID sessionID)
Check for any sessions logged into the specified VDB. |
void |
deleteAuthorizationPoliciesForVDB(java.lang.String VDBName,
java.lang.String VDBVersion)
For a given VDB version, delete all AuthorizationPolicies associated with it. |
Methods inherited from class com.metamatrix.metadata.runtime.AbstractVDBDeleteUtility |
---|
deleteVDBMarkedForDelete, deleteVDBsMarkedForDelete, getSessionsLoggedInToVDB |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StartupVDBDeleteUtility()
Method Detail |
---|
public boolean checkSessions(VirtualDatabaseID vdbID, MetaMatrixSessionID sessionID) throws MetaMatrixComponentException
checkSessions
in class AbstractVDBDeleteUtility
vdbID
- sessionID
-
MetaMatrixComponentException
public boolean checkSessions(VirtualDatabaseID vdbID) throws MetaMatrixComponentException
checkSessions
in class AbstractVDBDeleteUtility
vdbID
-
MetaMatrixComponentException
public void deleteAuthorizationPoliciesForVDB(java.lang.String VDBName, java.lang.String VDBVersion) throws MetaMatrixComponentException
deleteAuthorizationPoliciesForVDB
in class AbstractVDBDeleteUtility
MetaMatrixComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |