Home | History | Annotate | Download | only in axl

Lines Matching refs:getInstance

13     S.getInstance() 
29 first call to S.getInstance(.). If subsequent calls have parameters,
58 raise SingletonException, 'Singletons may only be instantiated through getInstance()'
63 def getInstance(cls, *lstArgs):
67 time you call getInstance.
79 getInstance = classmethod(getInstance)
93 happens when you call getInstance() under a new situation.
115 Demonstrates normal use -- just call getInstance and it returns a singleton instance
122 a1 = A.getInstance()
123 a2 = A.getInstance()
139 b1 = B.getInstance('arg1 value', 'arg2 value')
140 b2 = B.getInstance()
155 self.assertRaises(SingletonException, B.getInstance)
160 getInstance, as long as they call Singleton.__init__ during construction.
192 b1 = B.getInstance('arg1 value', 'arg2 value')
205 a = A.getInstance()
208 b = B.getInstance()
213 a = A.getInstance()
215 b = B.getInstance()