jhomenet.server.boot
Class LoadPluginsBootTask

java.lang.Object
  extended by jhomenet.server.boot.AbstractBootTask<jhomenet.server.boot.AbstractBootTask.Void>
      extended by jhomenet.server.boot.AbstractVoidBootTask
          extended by jhomenet.server.boot.LoadPluginsBootTask
All Implemented Interfaces:
BootTask<jhomenet.server.boot.AbstractBootTask.Void>

public class LoadPluginsBootTask
extends AbstractVoidBootTask

TODO: Class description.

Id: $Id: $

Author:
Dave Irwin (jhomenet at gmail dot com)

Constructor Summary
LoadPluginsBootTask(BootTaskManager bootManager)
           
 
Method Summary
 void execute()
          Execute the task.
 java.lang.Integer getTaskIncrement()
           
 java.lang.String getTaskString()
           
 java.lang.Boolean systemFailureOnException()
          This method is used to indicate whether an exception thrown by this boot task will result in a system failure.
 
Methods inherited from class jhomenet.server.boot.AbstractVoidBootTask
get
 
Methods inherited from class jhomenet.server.boot.AbstractBootTask
pause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadPluginsBootTask

public LoadPluginsBootTask(BootTaskManager bootManager)
Parameters:
bootManager -
Method Detail

execute

public void execute()
             throws BootException
Description copied from interface: BootTask
Execute the task.

Throws:
BootException
See Also:
BootTask.execute()

getTaskIncrement

public java.lang.Integer getTaskIncrement()
Specified by:
getTaskIncrement in interface BootTask<jhomenet.server.boot.AbstractBootTask.Void>
Specified by:
getTaskIncrement in class AbstractBootTask<jhomenet.server.boot.AbstractBootTask.Void>
Returns:
The task increment
See Also:
BootTask.getTaskIncrement()

getTaskString

public java.lang.String getTaskString()
Returns:
The task string
See Also:
BootTask.getTaskString()

systemFailureOnException

public java.lang.Boolean systemFailureOnException()
Description copied from interface: BootTask
This method is used to indicate whether an exception thrown by this boot task will result in a system failure.

For example, if some critical information is loaded using this boot task and an exception occurs during this process, then the system really shouldn't continue. This method should return Boolean.TRUE in this case. If an exception thrown by a boot task is not considered critical and the system can run in a degraded state, then return Boolean.FALSE.

Returns:
See Also:
BootTask.systemFailureOnException()


Copyright © 2004-2007 David Irwin. All Rights Reserved.