238 return // original berVal 239 } 240 ... 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 <p> 259 260 <h2>Package Specification</h2> 261 262 The JNDI API Specification and related documents can be found in the 263 <a href="../../../../technotes/guides/jndi/index.html">JNDI documentation</a>. 264 265 @since 1.3 266 267 </body> 268 </html> | 238 return // original berVal 239 } 240 ... 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> |