Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #1

Merged
merged 17 commits into from
Oct 21, 2013
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
JDOC
  • Loading branch information
duhdudecrazyman committed Sep 27, 2013
commit e1b58193c1bfa9c7a9565fc6ea8ce16c41271d27
4 changes: 4 additions & 0 deletions src/main/java/forklift/ForkLift.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

import forklift.exception.ForkLiftStartupException;

/**
* Main ForkLift application instance. ForkLift is started here
* and stopped here.
*/
public class ForkLift {
private static Logger log = LoggerFactory.getLogger("ForkLift");

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/forklift/ForkLiftShutdown.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package forklift;

/**
* Helps ensure a complete shutdown of ForkLift when the JVM quits.
*/
public class ForkLiftShutdown extends Thread {
private ForkLift forklift;

Expand Down
6 changes: 6 additions & 0 deletions src/test/java/forklift/test/Startup.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
import forklift.ForkLift;
import forklift.exception.ForkLiftStartupException;

/**
* Test the startup and shutdown of ForkLift to ensure that
* spring contexts can be found, and that the project spins up
* and down without error.
*
*/
public class Startup {
@Test
public void classpathStart()
Expand Down