Package de.scoopgmbh.copper.monitoring.core

Examples of de.scoopgmbh.copper.monitoring.core.CopperMonitoringService


    WorkflowInstanceIntrospector introspector = new WorkflowInstanceIntrospector(persistentdbStorage, wfRepository);
   
    final MonitoringLogbackDataProvider monitoringLogbackDataProvider = new MonitoringLogbackDataProvider(monitoringDataCollector);
    final MonitoringDataProviderManager monitoringDataProviderManager = new MonitoringDataProviderManager(new SystemRessourceDataProvider(monitoringDataCollector),monitoringLogbackDataProvider,new GcDataProvider(monitoringDataCollector));
    monitoringDataProviderManager.startAll();
    CopperMonitoringService copperMonitoringService = new DefaultCopperMonitoringService(
        new MonitoringDbStorage(txnController,new DerbyMonitoringDbDialect(new StandardJavaSerializer(),new CompressedBase64PostProcessor(),auditTrail)),
        runtimeStatisticsCollector,
        engines,
        monitoringQueue,
        true,
        introspector,
        new LogbackConfigManager(monitoringLogbackDataProvider),
        monitoringDataProviderManager);

    String host = (args.length > 0) ? args[0] : "localhost";
    int port = (args.length > 1) ? Integer.parseInt(args[1]) : 8080;
   
    CopperMonitoringService monitoringService;
    LoginService loginService;
    RemoteInvocationExecutor remoteInvocationExecutor;
    if(unsecure) {
      monitoringService = CopperMonitorServiceDefaultProxy.getServiceProxy(copperMonitoringService);
      loginService = new DefaultLoginService();
View Full Code Here


      RemoteInvocationFactory remoteInvocationFactory = secureConnect ?
          new SecureRemoteInvocationFactory(sessionId) : new DefaultRemoteInvocationFactory();
      httpInvokerProxyFactoryBean.setRemoteInvocationFactory(remoteInvocationFactory);
      httpInvokerProxyFactoryBean.setHttpInvokerRequestExecutor(httpInvokerRequestExecutor);
      httpInvokerProxyFactoryBean.afterPropertiesSet();
      final CopperMonitoringService copperMonitoringService = (CopperMonitoringService) httpInvokerProxyFactoryBean.getObject();

      final String serverAdressFinal = serverAdress;
      Platform.runLater(new Runnable() {
        @Override
        public void run() {
View Full Code Here

    httpInvokerProxyFactoryBean.setServiceUrl(COPPER_MONITORING_SERVICE);;
    httpInvokerProxyFactoryBean.setRemoteInvocationFactory(new SecureRemoteInvocationFactory("dgfdgdg"));
    httpInvokerProxyFactoryBean.setHttpInvokerRequestExecutor(new CommonsHttpInvokerRequestExecutor());
    httpInvokerProxyFactoryBean.afterPropertiesSet();
     
    CopperMonitoringService copperMonitorService = (CopperMonitoringService)httpInvokerProxyFactoryBean.getObject();
    assertNotNull(copperMonitorService);
    copperMonitorService.getSettings();
  }
View Full Code Here

      httpInvokerProxyFactoryBean.setRemoteInvocationFactory(new SecureRemoteInvocationFactory(sessionId));
      httpInvokerProxyFactoryBean.setHttpInvokerRequestExecutor(new CommonsHttpInvokerRequestExecutor());
      httpInvokerProxyFactoryBean.afterPropertiesSet();
     
     
      CopperMonitoringService copperMonitorService = (CopperMonitoringService)httpInvokerProxyFactoryBean.getObject();
      assertNotNull(copperMonitorService);
      try {
        copperMonitorService.getSettings();
      } catch (RemoteException e) {
        throw new RuntimeException(e);
      }
    }
 
View Full Code Here

      httpInvokerProxyFactoryBean.setRemoteInvocationFactory(new SecureRemoteInvocationFactory(sessionId));
      httpInvokerProxyFactoryBean.setHttpInvokerRequestExecutor(new CommonsHttpInvokerRequestExecutor());
      httpInvokerProxyFactoryBean.afterPropertiesSet();
     
     
      CopperMonitoringService copperMonitorService = (CopperMonitoringService)httpInvokerProxyFactoryBean.getObject();
      assertNotNull(copperMonitorService);
      try {
        copperMonitorService.getSettings();
      } catch (RemoteException e) {
        throw new RuntimeException(e);
      }
    }
 
View Full Code Here

TOP

Related Classes of de.scoopgmbh.copper.monitoring.core.CopperMonitoringService

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.