@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)
HookService
execute
in interface HookService
hookContext
- 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.AmbariException
Copyright © 2022 Apache Software Foundation. All rights reserved.