com.partnersoft.staker.hub
Class StakerDaemon

java.lang.Object
  extended by com.partnersoft.staker.hub.StakerDaemon

public class StakerDaemon
extends java.lang.Object

This is the "headless staker", an instance that can be run as a server process.

The primary purpose of this is to allow reports to be regenerated in the Partner Web.

Copyright 2008 Partner Software, Inc.


Constructor Summary
StakerDaemon()
           
 
Method Summary
 MapApp getMapApp()
           
 Staker getStaker()
           
static StakerDaemon registeredInstance()
          If there is already a registered StakerDaemon, returns it; otherwise returns null.
 void start()
           
static StakerDaemon startInstance()
          Creates a new instance, registers it and starts it.
 void stop()
           
static void stopInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StakerDaemon

public StakerDaemon()
Method Detail

registeredInstance

public static StakerDaemon registeredInstance()
If there is already a registered StakerDaemon, returns it; otherwise returns null.


startInstance

public static StakerDaemon startInstance()
Creates a new instance, registers it and starts it. If there's already a registered instance, stops it first.


stopInstance

public static void stopInstance()

start

public void start()

stop

public void stop()

getMapApp

public MapApp getMapApp()

getStaker

public Staker getStaker()