#include <LibraryObjectRegistry.hpp>
Inheritance diagram for corelinux::LibraryObjectRegistry:
Public Methods | |
LibraryObjectRegistry ( void ) throw ( Assertion ) | |
Default constructor. | |
virtual | ~LibraryObjectRegistry ( void ) |
Virtual destructor. | |
Static Public Methods | |
LibraryObjectPtr | getObject ( LibraryInstancePtr, CharCptr ) throw ( NullPointerException ) |
Performs a lookup of the object description using the instance name as key. More... | |
void | returnObject ( LibraryInstancePtr, LibraryObjectPtr ) throw ( NullPointerException ) |
Returns a LibraryObject instance to the originating LibraryObjectDefinition. More... | |
void | dropAllObjects ( LibraryInstancePtr ) throw ( NullPointerException ) |
Removes all objects associated with this library instance. More... | |
Protected Methods | |
LibraryObjectRegistry ( LibraryObjectRegistryCref ) throw ( Assertion ) | |
Copy constructor not allowed. | |
LibraryObjectPtr | resolveObject ( LibraryInstancePtr, CharCptr ) |
This is called from the static method to resolve either from the registry cache, or via MetaClass lookup and calling the 'create' dispatch on the MetaClass child of LibraryObject. More... | |
void | disgardObject ( LibraryInstancePtr, LibraryObjectPtr ) |
This is called from the static method to either keep the object in the cache, or get rid of it. More... | |
void | dropObjects ( LibraryInstancePtr aPtr = NULLPTR ) |
This is called from the static method or destructor to drop all associated objects of a LibraryInstance regardless of the reference count. More... | |
Static Protected Attributes | |
RegistryInstance | theRegistry |
The singleton instance of LibraryObjectRegistry. |
|
Default constructor.
|
|
Virtual destructor.
|
|
Copy constructor not allowed.
|
|
This is called from the static method to either keep the object in the cache, or get rid of it.
|
|
Removes all objects associated with this library instance.
|
|
This is called from the static method or destructor to drop all associated objects of a LibraryInstance regardless of the reference count.
|
|
Performs a lookup of the object description using the instance name as key. When the description is resolved, a library objectinstance is returned. The management of the LibraryObject instances is a responsibility of the LibraryObject MetaClass
|
|
This is called from the static method to resolve either from the registry cache, or via MetaClass lookup and calling the 'create' dispatch on the MetaClass child of LibraryObject.
|
|
Returns a LibraryObject instance to the originating LibraryObjectDefinition.
|
|
The singleton instance of LibraryObjectRegistry.
|