Examples of Framework


Examples of com.blogger.tcuri.appserver.Framework

     * {@inheritDoc}
     */
    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
        config = filterConfig;
        framework = new Framework();
    }
View Full Code Here

Examples of com.dtolabs.rundeck.core.common.Framework

        super(name);
    }

    public void setUp() {

        final Framework frameworkInstance = getFrameworkInstance();
        final FrameworkProject frameworkProject = frameworkInstance.getFrameworkProjectMgr().createFrameworkProject(
            PROJ_NAME);
        File resourcesfile = new File(frameworkProject.getNodesResourceFilePath());
        //copy test nodes to resources file
        try {
            FileUtils.copyFileStreams(new File("src/test/resources/com/dtolabs/rundeck/core/common/test-nodes1.xml"),
View Full Code Here

Examples of er.bugtracker.Framework

    @Override
    protected NSArray defaultBranchChoices(D2WContext context) {
        NSArray result = super.defaultBranchChoices(context);
        log.debug("in: " + result);
        Framework framework = (Framework)object(context);
        boolean ownerIsSelf = ERXEOControlUtilities.eoEquals(framework.owner(), People.clazz.currentUser(framework.editingContext()));
        if(framework == null || (framework.owner() != null && !ownerIsSelf)) {
            result = choiceByRemovingKeys(new NSArray("grabHat"), result);
            result = choiceByRemovingKeys(new NSArray("returnHat"), result);
        } else if(ownerIsSelf) {
            result = choiceByRemovingKeys(new NSArray("grabHat"), result);
        } else {
View Full Code Here

Examples of npanday.model.settings.Framework

        List<Vendor> vendors = new ArrayList<Vendor>();
        Vendor vendor = new Vendor();
        vendor.setVendorName("MICROSOFT");
        vendor.setVendorVersion("2.0.50727");

        Framework framework = new Framework();
        framework.setFrameworkVersion("2.0.50727");
        framework.setInstallRoot(System.getenv("SystemRoot") + "\\Microsoft.NET\\Framework\\v2.0.50727");
        framework.setSdkInstallRoot(System.getenv("SystemDrive") + "\\Program Files\\Microsoft.NET\\SDK\\v2.0");
        vendor.addFramework( framework );

        vendors.add( vendor );

        SettingsRepository settingsRepository = Factory.createSettingsRepository( vendors, defaultSetup );
View Full Code Here

Examples of org.apache.accumulo.server.test.randomwalk.Framework

    // don't run test if accumulo home is not set
    String acuHome = System.getenv("ACCUMULO_HOME");
    if (acuHome == null)
      return;
   
    Framework framework = Framework.getInstance();
    String confDir = acuHome + "/test/system/randomwalk/conf/";
    framework.run("unit/Basic.xml", new State(new Properties()), confDir);
  }
View Full Code Here

Examples of org.apache.accumulo.test.randomwalk.Framework

    // don't run test if accumulo home is not set
    String acuHome = System.getenv("ACCUMULO_HOME");
    if (acuHome == null)
      return;
   
    Framework framework = Framework.getInstance();
    String confDir = acuHome + "/test/system/randomwalk/conf/";
    framework.run("unit/Basic.xml", new State(new Properties()), confDir);
  }
View Full Code Here

Examples of org.apache.aries.jmx.framework.Framework

      if (_framework.get() == null && _startLevel.get() != null && _packageAdmin.get() != null) {
        registerMBean(FrameworkMBean.class.getName(), new BaseFactory<FrameworkMBean>() {
          @Override
          public FrameworkMBean create(PackageAdmin pa, StartLevel sl)
          {
            return new Framework(ctx, sl, pa);
          }
        }, FrameworkMBean.OBJECTNAME, _framework);
      }
  }
View Full Code Here

Examples of org.apache.felix.jmood.core.Framework

        return props;
    }

    private void registerMBeans() throws Exception{
        this.server.registerMBean(new CoreController(this.ac), new ObjectName(ObjectNames.CORE_CONTROLLER));
        this.server.registerMBean(new Framework(this.ac), new ObjectName(ObjectNames.FRAMEWORK));
        this.compendiumHandler.initController();
        this.ac.debug("mbeans registered");

       
    }
View Full Code Here

Examples of org.apache.felix.karaf.shell.dev.framework.Framework

    @Option(name = "-nodebug", aliases={"--disable-debug"}, description="Disable debug for the OSGi framework", required = false, multiValued = false)
    boolean nodebug;

    @Override
    protected Object doExecute() throws Exception {
        Framework framework = getFramework();

        if (!debug^nodebug) {
            System.err.printf("Required option missing: use -debug or -nodebug%n");
            return null;
        }
        if (debug) {
            System.out.printf("Enabling debug for OSGi framework (%s)%n", framework.getName());
            framework.enableDebug(new File(KARAF_BASE));
        }
        if (nodebug) {
            System.out.printf("Disabling debug for OSGi framework (%s)%n", framework.getName());
            framework.disableDebug(new File(KARAF_BASE));
        }

        return null//To change body of implemented methods use File | Settings | File Templates.
    }
View Full Code Here

Examples of org.apache.karaf.shell.dev.framework.Framework

        if (!debug^nodebug && framework == null) {
            System.out.printf("Current OSGi framework is %s%n", getFramework().getName());
            return null;
        }
        Framework frwk = null;
        if (framework != null) {
            if (!Felix.NAME.equalsIgnoreCase(framework) && !Equinox.NAME.equalsIgnoreCase(framework)) {
                System.err.printf("Unsupported framework: %s%n", framework);
                return null;
            }
            if (Felix.NAME.equalsIgnoreCase(framework))
                frwk = new Felix(new File(KARAF_BASE));
            else
                frwk = new Equinox(new File(KARAF_BASE));
            Properties props = new Properties(new File(System.getProperty("karaf.etc"), "config.properties"));
            props.put("karaf.framework", framework.toLowerCase());
            props.save();
        }
        if (debug) {
            if (frwk == null)
                frwk = getFramework();
            System.out.printf("Enabling debug for OSGi framework (%s)%n", frwk.getName());
            frwk.enableDebug(new File(KARAF_BASE));
        }
        if (nodebug) {
            if (frwk == null)
                frwk = getFramework();
            System.out.printf("Disabling debug for OSGi framework (%s)%n", frwk.getName());
            frwk.disableDebug(new File(KARAF_BASE));
        }

        return null;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.