< prev index next >

src/java.naming/share/classes/javax/naming/ldap/package.html

Print this page




 241 }
 242 public class VendorXControlFactory extends ControlFactory {
 243     public VendorXControlFactory () {
 244     }
 245 
 246     public Control getControlInstance(Control orig) throws NamingException {
 247         if (isOneOfMyControls(orig.getID())) {
 248             ...
 249 
 250             // determine which of ours it is and call its constructor
 251             return (new ChangeIDControl(orig.getID(), orig.getEncodedValue()));
 252         }
 253         return null;  // not one of ours
 254     }
 255 }
 256 </pre></blockquote>
 257 
 258 <h2>Package Specification</h2>
 259 
 260 The JNDI API Specification and related documents can be found in the
 261 <a href="../../../../technotes/guides/jndi/index.html">JNDI documentation</a>.
 262 
 263 @since 1.3
 264 
 265 </body>
 266 </html>


 241 }
 242 public class VendorXControlFactory extends ControlFactory {
 243     public VendorXControlFactory () {
 244     }
 245 
 246     public Control getControlInstance(Control orig) throws NamingException {
 247         if (isOneOfMyControls(orig.getID())) {
 248             ...
 249 
 250             // determine which of ours it is and call its constructor
 251             return (new ChangeIDControl(orig.getID(), orig.getEncodedValue()));
 252         }
 253         return null;  // not one of ours
 254     }
 255 }
 256 </pre></blockquote>
 257 
 258 <h2>Package Specification</h2>
 259 
 260 The JNDI API Specification and related documents can be found in the
 261 {@extLink jndi_overview JNDI documentation}.
 262 
 263 @since 1.3
 264 
 265 </body>
 266 </html>
< prev index next >