BakeoutController-Basic  0.1
A Controller for the Omicron vacuum chamber
Static Public Member Functions | List of all members
main.ApplicationConfiguration Class Reference

Static Public Member Functions

static String getApplicationName ()
 
static PortIdentifierGetter portWrapper ()
 
static PortDriver portDriver ()
 
static Kernel kernel ()
 

Detailed Description

Inversion of Control (IOC) container for the application

Definition at line 19 of file ApplicationConfiguration.java.

Member Function Documentation

static String main.ApplicationConfiguration.getApplicationName ( )
static
Returns
The name of the application

Definition at line 29 of file ApplicationConfiguration.java.

29  {
30  return applicationName;
31  }
static Kernel main.ApplicationConfiguration.kernel ( )
static

Bootstraps the Kernel and launches it

Returns
The kernel

Definition at line 58 of file ApplicationConfiguration.java.

58  {
59  KernelFactory kernelFactory = new ApplicationKernelFactory();
60  kernelFactory.setPortDriver(portDriver());
61 
62  assert kernelFactory.canKernelBeStarted();
63 
64  return kernelFactory.getKernelInstance();
65  }
static PortDriver main.ApplicationConfiguration.portDriver ( )
static
Returns
The driver for the port

Definition at line 46 of file ApplicationConfiguration.java.

46  {
47  return new RXTXPortDriver(
49  );
50  }
static PortIdentifierGetter portWrapper()
static PortIdentifierGetter main.ApplicationConfiguration.portWrapper ( )
static
Returns
The wrapper for the Java Communications API

Definition at line 38 of file ApplicationConfiguration.java.

38  {
39  return new JavaCommsAPIWrapper();
40  }

The documentation for this class was generated from the following file:
Git Repo