Package com.ibm.jscript.types

Examples of com.ibm.jscript.types.Registry


    if (registered) {
      return;
    }

    try {
      Registry registry = context.getRegistry();
      registry.registerPackage("OpenNTFDomino", 1337);
      FBSDefaultObject defaultObject = registry.getRegistryObject();

      List<Object> wregs = ExtensionManager.findServices(null, WrapperOpenDomino.class, WrapperRegistry.class.getName());
      // for (Class<?> clazz : WRAPPED_CLASSES) {
      for (Object wreg : wregs) {
        for (Class<?> clazz : ((WrapperRegistry) wreg).getWrapperClasses()) {
          registry.registerWrapper(clazz, new OpenWrapperFactory(clazz));
          defaultObject.createProperty("Open" + clazz.getSimpleName(), 1338, new OpenConstructor(context, clazz));
        }
      }

    } catch (Exception e) {
View Full Code Here

TOP

Related Classes of com.ibm.jscript.types.Registry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.