Personal tools
You are here: Home Developer Infrastructure Teams Architecture Kepler Extension Points KAREntryHandler Extension Point

KAREntryHandler Extension Point

The KAREntryHandler extension point in the core module allows other modules to contribute files to Kepler ARchives (KARs).

KAREntryHandler Interface

org.kepler.kar.KAREntryHandler can be implemented from any class.

 

Your extension must contain an inner class that extends org.kepler.kar.KAREntryHandlerFactory.

See org.kepler.kar.handlers.ActorMetadataKAREntryHandler for an example extension.

 

Within your module's configuration.xml file you can add your new extension to the KAREntryHandler extension point, for example core/resources/configurations/configuration.xml contains:

  <karEntryHandlerFactory>
    <karHandler>
      <name>amkeh</name> 
      <class>org.kepler.kar.handlers.ActorMetadataKAREntryHandler$Factory</class>
	</karHandler>
  </karEntryHandlerFactory>

 

The name property is required and must be unique but is never used.

Note: Additional information about the KAR saving process can be found here: KAR Saving Process

Document Actions