Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (18 sloc) 629 Bytes
#import <Foundation/Foundation.h>
typedef enum {
JSObjectionScopeNone = -1,
JSObjectionScopeNormal,
JSObjectionScopeSingleton
} JSObjectionScope;
@class JSObjectionInjector, JSObjectionEntry;
@protocol JSObjectionEntry<NSObject>
@property (nonatomic, readonly) JSObjectionScope lifeCycle;
@property (nonatomic, assign) JSObjectionInjector *injector;
@required
- (id)extractObject:(NSArray *)arguments;
+ (id)entryWithEntry:(JSObjectionEntry *)entry;
@optional
-(id) extractObject:(NSArray *)arguments initializer: (SEL)initializer;
@end
@interface JSObjectionEntry : NSObject<JSObjectionEntry>
@end