- It's now possible to setDesiredState to STOP and immediately unsupervise and have
  LifecycleSupervisor Do The Right Thing(tm).

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1157306 13f79535-47bb-0310-9956-ffa450edef68
- Ported DefaultLogicalNodeMangaer to LifecycleSupervisor rather
  than implementing a specific version itself. WORKS.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1157307 13f79535-47bb-0310-9956-ffa450edef68
- Removed old, dead code in DefaultLogicalNodeManager (now uses LifecycleSupervisor
  exclusively).

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1157340 13f79535-47bb-0310-9956-ffa450edef68
- Centralized failure transition logic.
- ChannelDriverThread now uses CounterGroup rather than a collection of longs.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158050 13f79535-47bb-0310-9956-ffa450edef68
- Fixed an issue where LogicalNode would block even on interruption.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158051 13f79535-47bb-0310-9956-ffa450edef68
- Removed wait for state behavior on stop of services: stop() should always be sync.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158052 13f79535-47bb-0310-9956-ffa450edef68
- Minor formating change.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158053 13f79535-47bb-0310-9956-ffa450edef68
- Removed unused NodeStatusMonitor.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158054 13f79535-47bb-0310-9956-ffa450edef68
- Fixed a bug where we didn't initialize lifecycleState properly in our mock.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158055 13f79535-47bb-0310-9956-ffa450edef68
- Added some notes about separation of function (i.e. start / stop) from state management (i.e. add / remove).

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158056 13f79535-47bb-0310-9956-ffa450edef68
- Switched FlumeNode over to LifecycleSupervisor controlled NodeManager in
  anticipation of other services (like ConfigurationClient).

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158057 13f79535-47bb-0310-9956-ffa450edef68
- Fixed a case where a ChannelDriverThread could die and go unnoticed until the
  LogicalNode was stopped. Added a monitor thread that updates LogicalNode state to ERROR if
  the ChannelDriver state becomes ERROR at any point.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158484 13f79535-47bb-0310-9956-ffa450edef68
- Added skeletal main() run loop for FlumeNode.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158899 13f79535-47bb-0310-9956-ffa450edef68
- Stupidly simple test of flume node main().

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158900 13f79535-47bb-0310-9956-ffa450edef68
- Made netcat source real by moving out of the test directory.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158901 13f79535-47bb-0310-9956-ffa450edef68
- Fixed an accidental use of the wrong class in the slf4j logger. (Thought I fixed this already?)

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158902 13f79535-47bb-0310-9956-ffa450edef68
- Added skeletal implementation of source / sink factory bootstrapping.
- Added extremely simplistic (and almost certainly temporary) command line parsing and
  support for definition of sources / sinks.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158903 13f79535-47bb-0310-9956-ffa450edef68
- Added a dependency on commons-cli.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158904 13f79535-47bb-0310-9956-ffa450edef68
- Added a default impl of NodeConfiguration. This is probably temporary.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158905 13f79535-47bb-0310-9956-ffa450edef68
- Made ng profile active by default for this branch.
- Added flume-ng-dist to the ng profile.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/branches/flume-728@1158906 13f79535-47bb-0310-9956-ffa450edef68