Difference between revisions of "NAL"

From Gcube Wiki
Jump to: navigation, search
Line 14: Line 14:
 
*#*: n.a.
 
*#*: n.a.
 
*#*; return  
 
*#*; return  
*#*: Vector
+
*#*: The list of the DHN VOs.
*# method 3
+
*# get VO Map
*#* description
+
*#* Return VO Map
 
*#*; signature
 
*#*; signature
 +
*#*: public String getVOMap (String voname) throws Exception
 
*#*; parameters
 
*#*; parameters
*#*; return
+
*#*: The VO name
*# method 2
+
*#*; return  
*#* description
+
*#*: The VO Map
 +
*#
 +
*#*  
 
*#*; signature
 
*#*; signature
 +
*#*:
 
*#*; parameters
 
*#*; parameters
*#*; return
+
*#*:
 +
*#*; return  
 +
*#*: 
 +
 
 +
 
  
  

Revision as of 19:08, 20 March 2007

Introduction

The Node Access Library (NAL) is a Java Library that provides different functionalities to access the local node information. It allows to obtain the DHN unique ID, the Running Instance unique ID, the list of service running in the node, the running instance profile of the caller, and the node free disk space. Moreover, the NAL, gives access to the VO Maps and allows services to set/get both the Specific Data section and the State section in their Running Instance profile.

Implentation Overview

Each WSRF service should instantiate a NAL object in order to have access to node information (see Usage Example for details).

  • Library functionalities description:
    1. List VO Maps
      • Return a list with the name of the DHN VOs
        signature
        public Vector getVOMapsList ( ) throws Exception
        parameters
        n.a.
        return
        The list of the DHN VOs.
    2. get VO Map
      • Return VO Map
        signature
        public String getVOMap (String voname) throws Exception
        parameters
        The VO name
        return
        The VO Map
      • signature
        parameters
        return



Dependencies

Usage Example