|
||||||||||
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 IBackingRepositoryLifecycleManager
public void newTenant(String tenantId)
IBackingRepositoryLifecycleManager
newTenant
in interface IBackingRepositoryLifecycleManager
tenantId
- new tenant idpublic void newUser()
IBackingRepositoryLifecycleManager
newUser
in interface IBackingRepositoryLifecycleManager
public void newUser(String tenantId, String username)
IBackingRepositoryLifecycleManager
username
interacts with the backing repository.
newUser
in interface IBackingRepositoryLifecycleManager
tenantId
- tenant to which the user belongsusername
- new usernamepublic void shutdown()
IBackingRepositoryLifecycleManager
shutdown
in interface IBackingRepositoryLifecycleManager
public void startup()
IBackingRepositoryLifecycleManager
startup
in interface IBackingRepositoryLifecycleManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |