Package elisa :: Package core :: Module player_engine_registry :: Class PlayerEngineRegistry
[hide private]
[frames] | no frames]

Class PlayerEngineRegistry

source code


The PlayerEngineRegistry has the responsability to create elisa.base_components.player_engine.PlayerEngine instances given URI schemes.

Nested Classes [hide private]
  __metaclass__
Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
initialize(self) source code
 
_load_providers(self)
Ask the plugin registry to create all the providers components defined in section 'general' of the config
source code
 
deinitialize(self) source code
elisa.base_components.player_engine.PlayerEngine or None
create_engine_for_scheme(self, scheme)
Create a new player engine instance for the given URI scheme.
source code

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

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

Static Methods [hide private]
 
__classinit__(cls, new_attrs)
Given a class and a new set of attributes (as passed in by __classinit__), create or modify properties based on functions with special names ending in __get, __set, and __del.
source code
Class Variables [hide private]
  name = 'player_engine_registry'

Inherited from extern.log.log.Loggable: logCategory

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: log.Loggable.__init__

create_engine_for_scheme(self, scheme)

source code 
Create a new player engine instance for the given URI scheme.
Parameters:
  • scheme (string) - the uri scheme that the new engine has to support
Returns: elisa.base_components.player_engine.PlayerEngine or None