@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, serverStatusChangeprotected void init()
throws ServiceException
BaseService
This method is called by BaseService.init(Server) after all service properties
(properties prefixed with
init in class BaseServiceServiceException - thrown if the service could not be initialized.public Class getInterface()
ServiceServer when the Server.get(Class) method is used to
retrieve a service.getInterface in interface Servicepublic List<String> getGroups(String user) throws IOException
getGroups in interface GroupsIOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.