Skip to content

Commit

Permalink
make it possible to determine if the symmetric engine has been starte…
Browse files Browse the repository at this point in the history
…d by exposing a started property
  • Loading branch information
knaas committed Mar 15, 2008
1 parent 0c73bb8 commit 69db60f
Showing 1 changed file with 10 additions and 0 deletions.
Expand Up @@ -302,6 +302,14 @@ public boolean isRegistered() {
return nodeService.findIdentity() != null;
}

/**
* Check to see if this node has been started.
* @return true if the node is started
*/
public boolean isStarted() {
return started;
}

/**
* Expose access to the Spring context. This is for advanced use only.
* @return
Expand All @@ -321,4 +329,6 @@ public static SymmetricEngine findEngineByName(String name) {
return registeredEnginesByName.get(name);
}



}

0 comments on commit 69db60f

Please sign in to comment.