Skip to content
Newer
Older
100644 25 lines (18 sloc) 617 Bytes
b6ebb12 @dewind Adding namespace prefix to Objection classes
dewind authored Jul 26, 2011
1 #import <Foundation/Foundation.h>
2
3 typedef enum {
390fad0 @dewind Succumbing to 4 soft tabs for indentation
dewind authored May 17, 2012
4 JSObjectionInstantiationRuleNone = -1,
5 JSObjectionInstantiationRuleNormal,
6 JSObjectionInstantiationRuleSingleton
b6ebb12 @dewind Adding namespace prefix to Objection classes
dewind authored Jul 26, 2011
7 } JSObjectionInstantiationRule;
8
9
10 @class JSObjectionInjector, JSObjectionEntry;
11
12 @protocol JSObjectionEntry<NSObject>
13 @property (nonatomic, readonly) JSObjectionInstantiationRule lifeCycle;
14 @property (nonatomic, assign) JSObjectionInjector *injector;
b872a58 @dewind Refactored entries to support arguments being passed in
dewind authored Jun 11, 2012
15 - (id)extractObject:(NSArray *)arguments;
b6ebb12 @dewind Adding namespace prefix to Objection classes
dewind authored Jul 26, 2011
16 + (id)entryWithEntry:(JSObjectionEntry *)entry;
17 @end
18
19 @interface JSObjectionEntry : NSObject<JSObjectionEntry>
20 {
390fad0 @dewind Succumbing to 4 soft tabs for indentation
dewind authored May 18, 2012
21 id _injector;
b6ebb12 @dewind Adding namespace prefix to Objection classes
dewind authored Jul 26, 2011
22 }
23
24 @end
Something went wrong with that request. Please try again.