javax.naming.spi

Class DirStateFactory.Result

Enclosing Class:
DirStateFactory

public static class DirStateFactory.Result
extends Object

An object/attributes pair for returning the result of DirStateFactory.getStateToBind().

Constructor Summary

Result(Object obj, Attributes outAttrs)
Constructs an instance of Result.

Method Summary

Attributes
getAttributes()
Retrieves the attributes to be bound.
Object
getObject()
Retrieves the object to be bound.

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

Result

public Result(Object obj,
              Attributes outAttrs)
Constructs an instance of Result.
Parameters:
obj - The possibly null object to be bound.
outAttrs - The possibly null attributes to be bound.
Usages and Demos :

View More Examples of Result(Object obj,Attributes outAttrs)
   1:             System.err.println("state factory returning"+outAttrs);
   2:             return new DirStateFactory.Result(null, outAttrs);
   3:         }
   4:         public Object getStateToBind(Object obj, Name name, Context ctx, Hashtable env) throws NamingException {
   5:             return null;

View Full Code Here

Method Details

getAttributes

public Attributes getAttributes()
Retrieves the attributes to be bound.
Returns:
The possibly null attributes to be bound.

getObject

public Object getObject()
Retrieves the object to be bound.
Returns:
The possibly null object to be bound.