Custom Replenish Class deployed with an OSGI Fragment
The purpose of this page is to help you understand the following topics:
How to create, test and deploy an OSGI Fragment.
How to create a custom replenish class for a specific warehouse/product
Introduction - Fragment vs Plugin vs Feature
A plugin is the eclipse "unit of work". Plugins are the smallest deployable and installable software components of the OSGi framework. An OSGi bundle that supplies a classpath and can contribute to an OSGi application through extensions.
A fragment points to a host plugin, and anything it provides (classpath, extensions, etc) are injected into the host plugin. A fragment is also a more specialized OSGi bundle.
0:02:00 Today's Plan
0:02:30 Create your fragment
0:04:15 Create new package
0:05:00 Create class to extend replenish process
0:05:45 Modify the manifest
0:07:00 Modify the run configuration for server.product to know about the new fragment
0:07:45 Run server.product
0:08:15 Modify warehouse to know about replenish class and confirm replenish record has "Custom" as Replenish Type