eu.xtreemos.xosd.resmng
Class ResMngStorage

java.lang.Object
  extended by eu.xtreemos.xosd.resmng.ResMngStorage

 class ResMngStorage
extends java.lang.Object

class structure for saving necessary context information


Field Summary
 java.util.HashMap<CommunicationAddress,java.security.cert.X509Certificate> alResourceCerts
          Resources that are in the list for calling vops (policyEnforceRequest)
 java.util.ArrayList<CommunicationAddress> alResources
          Resources that are in the list for calling vops (policyEnforceRequest)
(package private)  java.util.Hashtable<java.lang.Integer,java.lang.Double> attributeWeight
          A collection of attribute weights for computing the resource query hit scores.
 java.lang.Integer counter
          A general purpose counter.
 CommunicationAddress currentQueryingAddress
          Address of resource which is being queried
 java.util.Hashtable<java.lang.String,java.lang.Object> jsdl
          The structure describing a JSDL document.
 java.lang.String jsdlQuery
          The string containing the contents of the JSDL document.
 java.lang.String jsdlQueryFileName
          The file name containing the JSDL query.
 java.lang.Integer numResourcesHint
          The hint to form the number of resources the user would like to obtain.
 ParsedCommand parsedCommand
          Input from the XConsole.
(package private)  ResourceDescriptorComparator resourceDescriptorComparator
          A comparator that defines the sorting order of the resulting records depending on the node's resources.
 java.util.ArrayList<java.util.Hashtable<java.lang.String,java.lang.Object>> resourceDescriptorsList
           
 java.util.ArrayList<CommunicationAddress> resourceList
           
(package private)  java.util.ArrayList<ResourceDescriptorRecord> resources
          A list of resoruce descriptors.
 java.security.cert.X509Certificate userCert
          The certificate of the user that is querying for resources.
 
Constructor Summary
ResMngStorage()
           
ResMngStorage(java.lang.String queryFileName)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alResources

public java.util.ArrayList<CommunicationAddress> alResources
Resources that are in the list for calling vops (policyEnforceRequest)


alResourceCerts

public java.util.HashMap<CommunicationAddress,java.security.cert.X509Certificate> alResourceCerts
Resources that are in the list for calling vops (policyEnforceRequest)


currentQueryingAddress

public CommunicationAddress currentQueryingAddress
Address of resource which is being queried


jsdlQueryFileName

public java.lang.String jsdlQueryFileName
The file name containing the JSDL query. The file has to be on the same node that runs this service.


jsdlQuery

public java.lang.String jsdlQuery
The string containing the contents of the JSDL document.


jsdl

public java.util.Hashtable<java.lang.String,java.lang.Object> jsdl
The structure describing a JSDL document.


resourceList

public java.util.ArrayList<CommunicationAddress> resourceList

resourceDescriptorsList

public java.util.ArrayList<java.util.Hashtable<java.lang.String,java.lang.Object>> resourceDescriptorsList

resourceDescriptorComparator

ResourceDescriptorComparator resourceDescriptorComparator
A comparator that defines the sorting order of the resulting records depending on the node's resources.


attributeWeight

java.util.Hashtable<java.lang.Integer,java.lang.Double> attributeWeight
A collection of attribute weights for computing the resource query hit scores. If the collection is empty, then we assume a uniform distribution of attribute weights.


parsedCommand

public ParsedCommand parsedCommand
Input from the XConsole.


userCert

public java.security.cert.X509Certificate userCert
The certificate of the user that is querying for resources.


numResourcesHint

public java.lang.Integer numResourcesHint
The hint to form the number of resources the user would like to obtain.


counter

public java.lang.Integer counter
A general purpose counter.


resources

java.util.ArrayList<ResourceDescriptorRecord> resources
A list of resoruce descriptors.

Constructor Detail

ResMngStorage

public ResMngStorage()

ResMngStorage

public ResMngStorage(java.lang.String queryFileName)