@Singleton public class UserHookService extends Object implements HookService
| Constructor and Description |
|---|
UserHookService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(HookContext hookContext)
Entrypoint for the hook logic.
|
void |
onUserCreatedEvent(UserCreatedEvent event) |
public boolean execute(HookContext hookContext)
HookServiceexecute in interface HookServicehookContext - the context on which the hook logic is to be executedpublic void onUserCreatedEvent(UserCreatedEvent event) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.