jdk/src/java.naming/share/classes/javax/naming/spi/StateFactory.java
changeset 36511 9d0388c6b336
parent 32029 a5538163e144
equal deleted inserted replaced
36510:043f1af70518 36511:9d0388c6b336
    56   * a more compact object for storage in the naming system.
    56   * a more compact object for storage in the naming system.
    57   *<p>
    57   *<p>
    58   * A state factory must implement the {@code StateFactory} interface.
    58   * A state factory must implement the {@code StateFactory} interface.
    59   * In addition, the factory class must be public and must have a
    59   * In addition, the factory class must be public and must have a
    60   * public constructor that accepts no parameters.
    60   * public constructor that accepts no parameters.
       
    61   * Note that in cases where the factory is in a named module then it must be
       
    62   * in a package which is exported by that module to the {@code java.naming}
       
    63   * module.
    61   *<p>
    64   *<p>
    62   * The {@code getStateToBind()} method of a state factory may
    65   * The {@code getStateToBind()} method of a state factory may
    63   * be invoked multiple times, possibly using different parameters.
    66   * be invoked multiple times, possibly using different parameters.
    64   * The implementation is thread-safe.
    67   * The implementation is thread-safe.
    65   *<p>
    68   *<p>