Package structure
The API is structured as several Java packages that provide functionality generally corresponding to the GUI functionality, as well as the com.intelliden.icos.idc package that contains interfaces that represent the data objects used by the ITNCM - Base servers.
Most of the packages contain a "manager" interface that
contains the methods that interact with the ITNCM - Base server, as
well as a "data factory" class that is used to instantiate classes
that implement the interfaces in the com.intelliden.icos.idc package.
"Data factories" are used instead of constructors since interfaces
cannot be directly instantiated using a constructor.
- com.intelliden.icos.api.accounts
- Methods to add, delete, or modify users and groups
- com.intelliden.icos.api.admin
- Methods to pause and resume the ITNCM workflow process on worker servers
- com.intelliden.icos.api.resources
- Includes a
NetworkResourceManagerinterface as well as aResourceManagerinterface - com.intelliden.icos.api.workflow
- Methods to create, populate, submit, and track UOWs
- com.intelliden.icos.idc
- Contains the various "data" interfaces that are manipulated by the "manager" interfaces in the other packages
- com.intelliden.icos.api
- Includes the
ApiFactoryclass andApiSessioninterface.- The
ApiFactoryclass provides static methods to create an ApiSession - ApiSession represents a connection to the ITNCM - Base server
ApiSessionhas methods to create the various "manager" interfaces and data factories.
- The
- com.intelliden.icos
- Contains the ITNCM-specific exception classes used by the API.
- com.intelliden.icos.util
- Contains utility or general purpose interfaces and classes that may not logically belong in the packages listed above.