SICSiminov Class Reference

Inherits from NSObject
Declared in SICSiminov.h
SICSiminov.m

Overview

Exposes methods to deal with SIMINOV FRAMEWORK such as:-

  1. Initializer: Entry point to the SIMINOV.
  2. Shutdown: Exit point from the SIMINOV.

Other Methods

+ isActive

It is used to check whether SIMINOV FRAMEWORK is active or not.

+ (void)isActive

Discussion

It is used to check whether SIMINOV FRAMEWORK is active or not.

SIMINOV become active only when deployment of application is successful.

Exceptions

SICDeploymentException

If SIMINOV is not active it will throw SICDeploymentException which is RuntimeException.

Declared In

SICSiminov.h

+ initializer

Returns the SICIInitializer instance.

+ (id<SICIInitializer>)initializer

Return Value

Instance of SICIInitializer

Discussion

Returns the SICIInitializer instance.

Declared In

SICSiminov.h

+ start

It is the entry point to the SIMINOV FRAMEWORK. When application starts it should call this method to activate SIMINOV-FRAMEWORK. Siminov will read all descriptor defined by application, and do necessary processing.

+ (void)start

Discussion

It is the entry point to the SIMINOV FRAMEWORK. When application starts it should call this method to activate SIMINOV-FRAMEWORK. Siminov will read all descriptor defined by application, and do necessary processing.

Example: There are two ways to make a call.

  • Call it from Application class.
  • Call it from LAUNCHER Activity

Declared In

SICSiminov.h

+ shutdown

It is used to stop all service started by SIMINOV.

+ (void)shutdown

Discussion

It is used to stop all service started by SIMINOV.

When application shutdown they should call this. It do following services:

  • Close all database’s opened by SIMINOV.
  • Deallocate all resources held by SIMINOV.

Exceptions

SICSiminovException

If any error occur while shutting down SIMINOV.

Declared In

SICSiminov.h

+ processApplicationDescriptor

It process ApplicationDescriptor.xml file defined in Application, and stores in Resource Manager.

+ (void)processApplicationDescriptor

Discussion

It process ApplicationDescriptor.xml file defined in Application, and stores in Resource Manager.

Declared In

SICSiminov.m

+ processDatabaseDescriptors

It process all DatabaseDescriptor.xml files defined by Application and stores in Resource Manager.

+ (void)processDatabaseDescriptors

Discussion

It process all DatabaseDescriptor.xml files defined by Application and stores in Resource Manager.

Declared In

SICSiminov.m

+ processLibraries

It process all LibraryDescriptor.xml files defined by application, and stores in Resource Manager.

+ (void)processLibraries

Discussion

It process all LibraryDescriptor.xml files defined by application, and stores in Resource Manager.

Declared In

SICSiminov.m

+ processEntityDescriptors

It process all EntityDescriptor.xml file defined in Application, and stores in Resource Manager.

+ (void)processEntityDescriptors

Discussion

It process all EntityDescriptor.xml file defined in Application, and stores in Resource Manager.

Declared In

SICSiminov.m

+ processDatabase

It process all DatabaseDescriptor.xml and initialize Database and stores in Resource Manager.

+ (void)processDatabase

Discussion

It process all DatabaseDescriptor.xml and initialize Database and stores in Resource Manager.

Declared In

SICSiminov.m

Other Methods

+ doesDatabaseExists

It is used to check whether database exists or not.

+ (void)doesDatabaseExists

Discussion

It is used to check whether database exists or not.

Declared In

SICSiminov.m