Package org.cishell.framework

Examples of org.cishell.framework.CIShellContext


  /**
   * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
   */
  public void start(final BundleContext context) throws Exception {
        CIShellContext ciContext = new LocalCIShellContext(context);
       
        LogListener listener = new LogListener() {
            public void logged(LogEntry e) {
                if (goodMessage(e.getMessage())) {
                    System.out.println(e.getMessage());
View Full Code Here


  /**
   * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
   */
  public void start(BundleContext bundleContext) throws Exception {
        CIShellContext ciShellContext = new LocalCIShellContext(bundleContext);
       
        DataConversionService conversionService =
          new DataConversionServiceImpl(bundleContext, ciShellContext);
        this.conversionRegistration = bundleContext.registerService(
          DataConversionService.class.getName(),
View Full Code Here

       
        String algID = "-1";
        if (factory != null && algReg != null && mtpReg != null && dmReg != null) {
            Data[] dm = dmReg.getDataModels(dataModelIDs);
           
            CIShellContext ciContext = null;
            synchronized (sidToContextMap) {
                ciContext = (CIShellContext) sidToContextMap.get(sessionID);
               
                if (ciContext == null) {
                    ciContext = new RemoteCIShellContext(bContext, sessionID);
View Full Code Here

              * kind of stuff?
              */
              ServiceReference uniqueServiceReference = dataManagerServiceReference;
//              ServiceReference uniqueServiceReference = new ServiceReferenceDelegate(
//              dataManagerServiceReference);
            CIShellContext ciShellContext = new CIShellContextDelegate(
              uniqueServiceReference, new LocalCIShellContext(Activator.context));
            LogService uniqueLogger =
              (LogService) ciShellContext.getService(LogService.class.getName());

              try {
                Data[] inputData = fileLoader.loadFile(
                  Activator.context,
                  ciShellContext,
View Full Code Here

        props.put(Constants.SERVICE_PID, getClass().getName());
       
        reg = bContext.registerService(AlgorithmFactory.class.getName(), this, props);

        if ("true".equals(System.getProperty("org.cishell.remoting.server"))) {
            CIShellContext ciContext = new LocalCIShellContext(bContext);
            startServer(ciContext);
        }
    }
View Full Code Here

            windows = getWorkbench().getWorkbenchWindows();
        }
       
        final Shell shell = windows[0].getShell();
        IMenuManager menuManager = CIShellApplication.getMenuManager();
        CIShellContext ciShellContext = new LocalCIShellContext(bundleContext);
        Properties properties = getProperties();
        String toolName = getToolName(properties);
        String toolTicketURL = getToolTicketURL(properties);
       
        this.menuAdapter = new MenuAdapter(
View Full Code Here

TOP

Related Classes of org.cishell.framework.CIShellContext

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.