public class GetUserMappingsProtocolClientSideTranslatorPB extends Object implements ProtocolMetaInterface, GetUserMappingsProtocol, Closeable
versionID
Constructor and Description |
---|
GetUserMappingsProtocolClientSideTranslatorPB(GetUserMappingsProtocolPB rpcProxy) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String[] |
getGroupsForUser(String user)
Get the groups which are mapped to the given user.
|
boolean |
isMethodSupported(String methodName)
Checks whether the given method name is supported by the server.
|
public GetUserMappingsProtocolClientSideTranslatorPB(GetUserMappingsProtocolPB rpcProxy)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public String[] getGroupsForUser(String user) throws IOException
GetUserMappingsProtocol
getGroupsForUser
in interface GetUserMappingsProtocol
user
- The user to get the groups for.IOException
public boolean isMethodSupported(String methodName) throws IOException
ProtocolMetaInterface
isMethodSupported
in interface ProtocolMetaInterface
methodName
- The name of the methodIOException
Copyright © 2013 Apache Software Foundation. All rights reserved.