org.apache.directory.server.dns.store.jndi.operations
Class GetFlatRecord
java.lang.Object
org.apache.directory.server.dns.store.jndi.operations.GetFlatRecord
- All Implemented Interfaces:
- DnsOperation
public class GetFlatRecord
- extends Object
- implements DnsOperation
A JNDI context operation for looking up a Resource Record with flat attributes.
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetFlatRecord
public GetFlatRecord(QuestionRecord question)
- Creates the action to be used against the embedded JNDI provider.
- Parameters:
question -
execute
public Set<ResourceRecord> execute(DirContext ctx,
Name base)
throws Exception
- Note that the base is a relative path from the exiting context.
It is not a Dn.
- Specified by:
execute in interface DnsOperation
- Parameters:
ctx - The context to execute the command withbase - The base Dn for working with the context
- Returns:
- Set The result returned by the command
- Throws:
Exception - The exception thrown by the command
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.