~sylvain-pineau/checkbox/wrap_exporter

« back to all changes in this revision

Viewing changes to plainbox/plainbox/impl/highlevel.py

  • Committer: Sylvain Pineau
  • Date: 2013-07-16 23:50:22 UTC
  • Revision ID: sylvain.pineau@canonical.com-20130716235022-4iuanu3lrxaa023f
impl:service: Added the Exporter Wrapper class

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
import logging
26
26
 
27
27
from plainbox import __version__ as plainbox_version
 
28
from plainbox.impl.exporter import get_all_exporters
28
29
from plainbox.impl.session.state import SessionState
29
30
 
30
31
 
37
38
        # TODO: session_list will be changed to session_manager_list
38
39
        self._provider_list = provider_list
39
40
        self._session_list = session_list
 
41
        self._exporter_list = get_all_exporters()
40
42
 
41
43
    @property
42
44
    def version(self):
50
52
    def session_list(self):
51
53
        return self._session_list
52
54
 
 
55
    @property
 
56
    def exporter_list(self):
 
57
        return self._exporter_list
 
58
 
53
59
    def create_session(self, job_list):
54
60
        # TODO: allocate storage
55
61
        # TODO: construct state