Trees Indices Help
Trac
Package trac :: Module resource :: Class ResourceSystem

Class ResourceSystem

source code

 object --+ 
 | 
core.Component --+
 |
 ResourceSystem

Resource identification and description manager.

This component makes the link between Resource identifiers and their corresponding manager Component.

Nested Classes

Inherited from core.Component : __metaclass__

Instance Methods
__init__(self, compmgr, init=<function __init__ at 0x7f8a65767410>, cls=<class 'trac.resource.ResourceSystem'>)
x.__init__(...) initializes x; see help(type(x)) for signature source code
get_resource_manager(self, realm)
Return the component responsible for resources in the given realm source code
get_known_realms(self)
Return a list of all the realm names of resource managers. source code

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

Static Methods

Inherited from core.Component : __new__ , implements

Properties
resource_managers
List of components that implement IResourceManager

Inherited from object: __class__

Method Details

__init__(self, compmgr, init=<function __init__ at 0x7f8a65767410>, cls=<class 'trac.resource.ResourceSystem'>)
(Constructor)

source code
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

get_resource_manager(self, realm)

source code
Return the component responsible for resources in the given realm
Parameters:
  • realm - the realm name
Returns:
a Component implementing IResourceManager or None

Property Details

resource_managers

List of components that implement IResourceManager
Get Method:
unreachable.extensions(component) - Return a list of components that declare to implement the extension point interface.

Trees Indices Help
Trac

AltStyle によって変換されたページ (->オリジナル) /