Package Ganga :: Package GPIDev :: Package Lib :: Package Registry :: Module BoxRegistry' :: Class BoxRegistry
[hide private]
[frames] | no frames]

Class BoxRegistry

source code

                            object --+    
                                     |    
Core.GangaRepository.Registry.Registry --+
                                         |
                                        BoxRegistry

Instance Methods [hide private]
 
_getName(self, obj) source code
 
_get_obj(self, obj_id) source code
 
_remove(self, obj, auto_removed=0)
Private method removing the obj from the registry.
source code
 
_setName(self, obj, name) source code
 
getIndexCache(self, obj)
Returns a dictionary to be put into obj._index_cache This can and should be overwritten by derived Registries to provide more index values.
source code
 
getProxy(self) source code
 
proxy_add(self, obj, name) source code
 
proxy_remove(self, obj_id) source code
 
proxy_rename(self, obj_id, name) source code
 
startup(self)
Connect the repository to the registry.
source code

Inherited from Core.GangaRepository.Registry.Registry: __contains__, __getitem__, __init__, __iter__, __len__, clean, find, ids, info, items, iteritems, keys, pollChangedJobs, print_other_sessions, shutdown, values

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_remove(self, obj, auto_removed=0)

source code 

Private method removing the obj from the registry. This method always called. This method may be overriden in the subclass to trigger additional actions on the removal. 'auto_removed' is set to true if this method is called in the context of obj.remove() method to avoid recursion. Only then the removal takes place. In the opposite case the obj.remove() is called first which eventually calls this method again with "auto_removed" set to true. This is done so that obj.remove() is ALWAYS called once independent on the removing context. Raise RepositoryError Raise RegistryAccessError Raise RegistryLockError Raise ObjectNotInRegistryError

Overrides: Core.GangaRepository.Registry.Registry._remove
(inherited documentation)

getIndexCache(self, obj)

source code 

Returns a dictionary to be put into obj._index_cache This can and should be overwritten by derived Registries to provide more index values.

Overrides: Core.GangaRepository.Registry.Registry.getIndexCache
(inherited documentation)

startup(self)

source code 

Connect the repository to the registry. Called from Repository_runtime.py

Overrides: Core.GangaRepository.Registry.Registry.startup
(inherited documentation)