|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.platform.repository2.unified.lifecycle.DelegatingBackingRepositoryLifecycleManager
public class DelegatingBackingRepositoryLifecycleManager
An IBackingRepositoryLifecycleManager that does nothing itself but instead delegates to an ordered collection
of other IBackingRepositoryLifecycleManager instances.
| Constructor Summary | |
|---|---|
DelegatingBackingRepositoryLifecycleManager(List<IBackingRepositoryLifecycleManager> managers)
|
|
| Method Summary | |
|---|---|
void |
newTenant()
To be called before any users belonging to the current tenant interact with the backing repository. |
void |
newTenant(String tenantId)
To be called before any users belonging to a particular tenant interact with the backing repository. |
void |
newUser()
To be called before current user interacts with the backing repository. |
void |
newUser(String tenantId,
String username)
To be called before user indicated by username interacts with the backing repository. |
void |
shutdown()
To be called on repository shutdown. |
void |
startup()
To be called before any (non-admin) users interact with the backing repository. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingBackingRepositoryLifecycleManager(List<IBackingRepositoryLifecycleManager> managers)
| Method Detail |
|---|
public void newTenant()
IBackingRepositoryLifecycleManager
newTenant in interface IBackingRepositoryLifecycleManagerpublic void newTenant(String tenantId)
IBackingRepositoryLifecycleManager
newTenant in interface IBackingRepositoryLifecycleManagertenantId - new tenant idpublic void newUser()
IBackingRepositoryLifecycleManager
newUser in interface IBackingRepositoryLifecycleManager
public void newUser(String tenantId,
String username)
IBackingRepositoryLifecycleManagerusername interacts with the backing repository.
newUser in interface IBackingRepositoryLifecycleManagertenantId - tenant to which the user belongsusername - new usernamepublic void shutdown()
IBackingRepositoryLifecycleManager
shutdown in interface IBackingRepositoryLifecycleManagerpublic void startup()
IBackingRepositoryLifecycleManager
startup in interface IBackingRepositoryLifecycleManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||