@InterfaceAudience.Private public class GroupsService extends BaseService implements Groups
Constructor and Description |
---|
GroupsService() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getGroups(String user) |
Class |
getInterface()
Returns the interface implemented by this service.
|
protected void |
init()
Initializes the server.
|
destroy, getPrefix, getPrefixedName, getServer, getServiceConfig, getServiceDependencies, init, postInit, serverStatusChange
protected void init() throws ServiceException
BaseService
This method is called by BaseService.init(Server)
after all service properties
(properties prefixed with
init
in class BaseService
ServiceException
- thrown if the service could not be initialized.public Class getInterface()
Service
Server
when the Server.get(Class)
method is used to
retrieve a service.getInterface
in interface Service
public List<String> getGroups(String user) throws IOException
getGroups
in interface Groups
IOException
Copyright © 2022 Apache Software Foundation. All rights reserved.