Changes between Version 13 and Version 14 of net.sf.basedb.opengrid/using


Ignore:
Timestamp:
Jan 25, 2017, 8:35:45 AM (8 years ago)
Author:
Nicklas Nordborg
Comment:

Added syntax highlighting in code examples

Legend:

Unmodified
Added
Removed
Modified
  • net.sf.basedb.opengrid/using

    v13 v14  
    2626'''Java code in a servlet running on the BASE web server'''
    2727{{{
     28#!java
    2829DbControl dc = ... // We need an open DbControl from BASE
    2930
     
    4647'''!JavaScript code running in the web browser the current user is using'''
    4748{{{
     49#!js
    4850// In the web client use the JSON data to populate a <select> list
    4951var list = document.getElementById('cluster-list');
     
    7678
    7779{{{
     80#!java
    7881ScriptBuilder script = new ScriptBuilder();
    7982// Copy all files we need to the local cluster node
     
    121124
    122125{{{
     126#!java
    123127DbControl dc = ....     // We need an open DbControl from BASE
    124128String clusterId = ...  // The ID of the cluster selected by the user
     
    175179
    176180{{{
     181#!java
    177182public class MyAnalysisJobCompletionHandlerFactory
    178183   implements ActionFactory<JobCompletionHandler>
     
    233238
    234239{{{
     240#!java
    235241public class MyAnalysisCompletionHandler
    236242   implements JobCompletionHandler
     
    289295
    290296{{{
     297#!java
    291298String barcode = ... // Something that identifies the current sequencing
    292299String clusterId = ... // The Open Grid Cluster we use to check status
     
    311318
    312319{{{
     320#!java
    313321public class SequencingSignalHandler
    314322   implements SignalHandler, JobStatusUpdater
     
    361369
    362370{{{
     371#!java
    363372public class MySequencingJobCompletionHandlerFactory
    364373   implements ActionFactory<JobCompletionHandler>
     
    389398
    390399{{{
     400#!java
    391401// We need a filter that listens for SERVICE_STARTED event
    392402// related to the Open Grid Scheduler service