SIHAdapterFactory Class Reference
Inherits from | NSObject |
---|---|
Declared in | SIHAdapterFactory.h SIHAdapterFactory.m |
– getAdapterInstance:
Returns Adapter Descriptor mapped class instance based on adapter descriptor name.
- (id<SIHIAdapter>)getAdapterInstance:(NSString *)adapterDescriptorName
Parameters
adapterDescriptorName |
Name of Adapter Descriptor. |
---|
Return Value
Adapter Class Instance.
Discussion
Returns Adapter Descriptor mapped class instance based on adapter descriptor name.
Declared In
SIHAdapterFactory.h
– requireAdapterInstance:
Returns Adapter mapped class instance based on adapter name. If adapter instance is not cache it will create new instance of that class.
- (id<SIHIAdapter>)requireAdapterInstance:(NSString *)adapterName
Parameters
adapterName |
Name of Adapter. |
---|
Return Value
Adapter Class Instance.
Discussion
Returns Adapter mapped class instance based on adapter name. If adapter instance is not cache it will create new instance of that class.
Declared In
SIHAdapterFactory.h
– getHandlerInstance:handlerName:handlerParameterTypes:
Returns Handler mapped method instance based on adapter name, handler name and its handler parameter types.
- (Method)getHandlerInstance:(NSString *)adapterDescriptorName handlerName:(NSString *)handlerName handlerParameterTypes:(NSEnumerator *)handlerParameterTypes
Parameters
adapterDescriptorName |
Name of Adapter. |
---|---|
handlerName |
Name of Handler. |
handlerParameterTypes |
Type of Parameters. |
Return Value
Handler Method Instance.
Discussion
Returns Handler mapped method instance based on adapter name, handler name and its handler parameter types.
Declared In
SIHAdapterFactory.h
– requireHandlerInstance:handlerName:handlerParameterTypes:
Returns Handler mapped method instance based on adapter name, handler name and its handler parameter types. If instance is not cached it will create new instance for handler.
- (Method)requireHandlerInstance:(NSString *)adapterDescriptorName handlerName:(NSString *)handlerName handlerParameterTypes:(NSEnumerator *)handlerParameterTypes
Parameters
adapterDescriptorName |
Name of Adapter. |
---|---|
handlerName |
Name of Handler. |
handlerParameterTypes |
Type of Parameters. @return |
Discussion
Returns Handler mapped method instance based on adapter name, handler name and its handler parameter types. If instance is not cached it will create new instance for handler.
Declared In
SIHAdapterFactory.h