Static Public Member Functions | |
| static Grid | createInstance () throws FrameworkException |
| Instantiates a new Grid object with the default configuration file. | |
| static synchronized Grid | createInstance (Framework frame) |
| Instantiates a new Grid using an existing configuration. | |
| static Grid | createInstance (FrameworkConfiguration configuration) throws FrameworkException |
| Instantiates a new Grid object with the given configuration parameter. | |
| static synchronized Grid | getGridInstance () throws FrameworkException |
| This method returns a default Grid singleton instance, the same all the time, created with the default configuration read from file if no previous create functions. | |
It also maintains a singleton instance for multiple grid uses.
It should not be used by a service's programmer.
com.abiquo.api.Service.setGridFromFramework()
| static Grid com.abiquo.GridFactory.createInstance | ( | ) | throws FrameworkException [static] |
| static synchronized Grid com.abiquo.GridFactory.createInstance | ( | Framework | frame | ) | [static] |
Instantiates a new Grid using an existing configuration.
Used on Service deployment.
| frame | an existing framework instance |
| static Grid com.abiquo.GridFactory.createInstance | ( | FrameworkConfiguration | configuration | ) | throws FrameworkException [static] |
| static synchronized Grid com.abiquo.GridFactory.getGridInstance | ( | ) | throws FrameworkException [static] |
This method returns a default Grid singleton instance, the same all the time, created with the default configuration read from file if no previous create functions.
| FrameworkException | if configuration file fails or can not create the necessary access |
1.5.5