@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
public GroupsService()
protected void init() throws ServiceException
BaseService
BaseService.init(Server)
after all service properties
(properties prefixed withinit
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 © 2015 Apache Software Foundation. All Rights Reserved.