Esempio n. 1
0
 def _thrift_defaults_subsystem(self):
     return ThriftDefaults.global_instance()
Esempio n. 2
0
 def __init__(self, *args, **kwargs):
   super(ScroogeGen, self).__init__(*args, **kwargs)
   self._thrift_defaults = ThriftDefaults.global_instance()
   self._depinfo = None
Esempio n. 3
0
 def create_thrift_defaults(self, **options):
     self.context(for_subsystems=[ThriftDefaults],
                  options={ThriftDefaults.options_scope: options})
     return ThriftDefaults.global_instance()
 def __init__(self, *args, **kwargs):
   super(ApacheThriftJavaGen, self).__init__(*args, **kwargs)
   self._thrift_defaults = ThriftDefaults.global_instance()
Esempio n. 5
0
 def get_fingerprint_strategy(cls):
   return JavaThriftLibraryFingerprintStrategy(ThriftDefaults.global_instance())
Esempio n. 6
0
 def get_fingerprint_strategy(cls):
     return JavaThriftLibraryFingerprintStrategy(
         ThriftDefaults.global_instance())
Esempio n. 7
0
 def __init__(self, *args, **kwargs):
     super(ScroogeGen, self).__init__(*args, **kwargs)
     self._thrift_defaults = ThriftDefaults.global_instance()
     self._depinfo = None
Esempio n. 8
0
 def __init__(self, *args, **kwargs):
     super(ApacheThriftJavaGen, self).__init__(*args, **kwargs)
     self._thrift_defaults = ThriftDefaults.global_instance()
Esempio n. 9
0
 def create_strategy(self, option_values):
     self.context(for_subsystems=[ThriftDefaults],
                  options={ThriftDefaults.options_scope: option_values})
     return JavaThriftLibraryFingerprintStrategy(
         ThriftDefaults.global_instance())
 def create_strategy(self, option_values):
   self.context(for_subsystems=[ThriftDefaults], options={
     ThriftDefaults.options_scope: option_values
   })
   return JavaThriftLibraryFingerprintStrategy(ThriftDefaults.global_instance())
Esempio n. 11
0
 def __init__(self, *args, **kwargs):
     super().__init__(*args, **kwargs)
     self._thrift_defaults = ThriftDefaults.global_instance()
Esempio n. 12
0
 def create_thrift_defaults(self, **options):
   self.context(for_subsystems=[ThriftDefaults], options={
     ThriftDefaults.options_scope: options
   })
   return ThriftDefaults.global_instance()