equal
deleted
inserted
replaced
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> |