isc.main
Class DNA_adminClient

java.lang.Object
  extended by isc.main.DNA_adminClient

public class DNA_adminClient
extends java.lang.Object

DNA_adminClient controls the DNA_sensor process during runtime through the use of JAVA RMI calls.

Current options are:

Other options can be added to the server admin interface @see ServerAdmin

Author:
John Casey
Project: DNA_sensor - Aug 12, 2005

Field Summary
(package private) static javax.naming.Context ctx
          Nameing context
protected static java.lang.String PROP_NAMING_ADMIN_NAME
          JNDI Property @see jndi
protected static java.lang.String PROP_NAMING_CLASS
          JNDI Property @see jndi
protected static java.lang.String PROP_NAMING_CONTEXT_FACTORY
          JNDI Property @see jndi
protected static java.lang.String PROP_NAMING_PW
          JNDI Property @see jndi
protected static java.lang.String PROP_NAMING_URL
          JNDI server interface URL
protected static java.lang.String PROP_NAMING_URL_PKG_PREFIXES
          JNDI Property @see jndi
protected static java.lang.String PROP_NAMING_USER
          JNDI Property @see jndi
(package private) static AppProperties props
          Application Properties
(package private) static ServerAdminIF server
          The server's interface
 
Constructor Summary
DNA_adminClient()
           
 
Method Summary
static void bindServer()
          Bind to the DNA_sensor server
static void main(java.lang.String[] args)
          Main entrypoint for DNA_adminClient process
static void printHelp()
          Print process command line options
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctx

static javax.naming.Context ctx
Nameing context


props

static AppProperties props
Application Properties


server

static ServerAdminIF server
The server's interface


PROP_NAMING_URL

protected static final java.lang.String PROP_NAMING_URL
JNDI server interface URL

See Also:
Constant Field Values

PROP_NAMING_CONTEXT_FACTORY

protected static final java.lang.String PROP_NAMING_CONTEXT_FACTORY
JNDI Property @see jndi

See Also:
Constant Field Values

PROP_NAMING_URL_PKG_PREFIXES

protected static final java.lang.String PROP_NAMING_URL_PKG_PREFIXES
JNDI Property @see jndi

See Also:
Constant Field Values

PROP_NAMING_ADMIN_NAME

protected static final java.lang.String PROP_NAMING_ADMIN_NAME
JNDI Property @see jndi

See Also:
Constant Field Values

PROP_NAMING_USER

protected static final java.lang.String PROP_NAMING_USER
JNDI Property @see jndi

See Also:
Constant Field Values

PROP_NAMING_PW

protected static final java.lang.String PROP_NAMING_PW
JNDI Property @see jndi

See Also:
Constant Field Values

PROP_NAMING_CLASS

protected static final java.lang.String PROP_NAMING_CLASS
JNDI Property @see jndi

See Also:
Constant Field Values
Constructor Detail

DNA_adminClient

public DNA_adminClient()
Method Detail

printHelp

public static void printHelp()
Print process command line options


bindServer

public static void bindServer()
                       throws java.lang.Exception
Bind to the DNA_sensor server

Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
Main entrypoint for DNA_adminClient process

Parameters:
args - process arg list