Patent ID: 7814472

Claim:
A non-transitory computer-readable medium having sets of instructions for referencing a plurality of code-sources for object-oriented programming language class loaders in an object-oriented programming language virtual machine environment having sets of instructions which, when executed by a computer cause the computer to: identify a plurality of code-sources which are shared by a plurality of class loaders in said object-oriented programming language environment; initialize a single instance of each of the plurality of code-sources; store, in a central repository, each of the single instances of the plurality of code-sources, wherein each single instance of said plurality of code-sources are managed for use in said object-oriented programming language environment by said plurality of class loaders using the central repository; initialize a state of each of the single instances of said plurality of said code-sources; list the plurality of class loaders in said object-oriented programming language environment as subscribing to the respective code sources, wherein class loaders in said list subscribe to at least one of said plurality of code-sources; receiving an instantiation request for one of the plurality of code-sources from at least two different class loaders from the plurality of class loaders; and providing the two different class loaders with access to the central repository to access the same single instance of the code-source.