Inherits IGridAccess.
Public Member Functions | |
| LocalAccess (FrameworkConfiguration inConfiguration) throws UpdateModelException | |
| The local access class constructor. | |
| Communication | getCommunication () |
| Gets the communication (layer) take from the framework. | |
| FrameworkConfiguration | getConfiguration () |
| Returns the configuration used to access and construct the framework. | |
| AccessMode | getConnectionMode () |
| Returns the type of access implemented. | |
| GSSCredential | getCredential () |
| Returns the credential used to access and construct the secured framework. | |
| IFileSystemService | getFileSystemService () |
| Returns the default file system implementation. | |
| IGridModel | getModel () |
| Gets the IGridModel implementation taken from the framework. | |
| ISecurityModel | getSecurityModel () |
| Returns the ISecurityModel implementation taken from the framework. | |
| ITransaction | send (IXMLMessage messageRequest) |
| Sends a request message using DispachCommunication to on memory Framework entity. | |
| void | setCredential (GSSCredential inCredential) |
| Changes the credential used on both access and framework communication. | |
| void | terminate () throws FrameworkException |
| Shuts down the framework instance. | |
If no other framework is present on configuration file, it is the default access.
| com.abiquo.api.access.LocalAccess.LocalAccess | ( | FrameworkConfiguration | inConfiguration | ) | throws UpdateModelException |
The local access class constructor.
It creates a new framework entity and waits until its update model process ends.
| inConfiguration | the configuration used to instantiate the new instance |
| UpdateModelException,if | the constructed framework can not reach any node |
| Communication com.abiquo.api.access.LocalAccess.getCommunication | ( | ) |
Gets the communication (layer) take from the framework.
| FrameworkConfiguration com.abiquo.api.access.LocalAccess.getConfiguration | ( | ) |
Returns the configuration used to access and construct the framework.
| AccessMode com.abiquo.api.access.LocalAccess.getConnectionMode | ( | ) |
| GSSCredential com.abiquo.api.access.LocalAccess.getCredential | ( | ) |
Returns the credential used to access and construct the secured framework.
| IFileSystemService com.abiquo.api.access.LocalAccess.getFileSystemService | ( | ) |
Returns the default file system implementation.
| IGridModel com.abiquo.api.access.LocalAccess.getModel | ( | ) |
Gets the IGridModel implementation taken from the framework.
| ISecurityModel com.abiquo.api.access.LocalAccess.getSecurityModel | ( | ) |
Returns the ISecurityModel implementation taken from the framework.
| ITransaction com.abiquo.api.access.LocalAccess.send | ( | IXMLMessage | messageRequest | ) |
Sends a request message using DispachCommunication to on memory Framework entity.
| messageRequest | the request message starting the transaction |
| void com.abiquo.api.access.LocalAccess.setCredential | ( | GSSCredential | inCredential | ) |
Changes the credential used on both access and framework communication.
| inCredential | the new user credential for secure communication |
| void com.abiquo.api.access.LocalAccess.terminate | ( | ) | throws FrameworkException |
Shuts down the framework instance.
| FrameworkException | the general exception |
1.5.5