Anatomy of a Modularity bundle
Modularity bundles are based on the core Object-oriented principle of encapsulation.
State
Where applicable, Modularity bundles are capable of maintaining state information via persistent disk storage. Typically storage locations are defined via a registered ResourceManager service, however in the absence of such a service a bundle may default to using a bundle-specific storage location.
Services
Each Modularity bundle may provide one or more services that define the core functionality of a bundle. These services are typically provided via the OSGi service registration facility, however bundles may specifically provide services via alternate technologies such as SOAP, REST, JNDI, etc.
Configuration
Modularity bundles will typically support configuration to some extent that define the behaviour of a bundle.
Monitoring
Monitoring of Modularity bundles is supported via Java Management Extensions (JMX).
