Skip to content

Karyon core

NiteshKant edited this page Mar 6, 2013 · 6 revisions

Karyon is designed to be container/framework agnostic and have the capability to be plugged into any container /framework that your application may run in.

karyon-core module provides the core functionality of karyon; which can be adapted to various containers/frameworks using karyon-extensions

There are 3 important constituents of karyon-core

This class bootstraps governator and provides various extension points to override the default bootstrapping. See the javadocs for details.

This class integrates with eureka, initializes Application and Components in the desired order.

This is the main class which ties everything in karyon together. If you are writing a new extension, you must use this class and call the following methods at appropriate places in your extension:

  1. initialize
  2. start
  3. close

Refer to KaryonGuiceContextListener as an example