Patent ID: 8375377

Claim:
A computer-implemented method of controlling an operation of a component (JVM component) of a Java Virtual Machine (JVM) on a per-classloader basis, said method comprising: a computer system loading an Open Services Gateway Initiative (OSGi) compliant bundle in an OSGi compliant computing framework; said computer system generating a Java classloader uniquely associated with said OSGi compliant bundle; said computer system extracting a manifest file from within said OSGi compliant bundle; said computer system identifying metadata in said manifest file extracted from said OSGi compliant bundle; responsive to said identifying said metadata, said computer system determining said metadata controls said operation of said JVM component, wherein said computer system includes said JVM component; subsequent to said determining said metadata controls said operation of said JVM component, said computer system storing said metadata as a property in said Java classloader uniquely associated with said OSGi compliant bundle; subsequent to said storing said metadata, said computer system identifying an upcoming performance of said operation of said JVM component; responsive to said identifying said upcoming performance of said operation of said JVM component, said computer system reading a value of said stored metadata from said property in said Java classloader; and controlling, by a processor of said computer system, said operation of said JVM component based on said value of said metadata that is identified in said manifest file extracted from said OSGi compliant bundle and that is stored as said property in said Java classloader uniquely associated with said OSGi compliant bundle.