com.ibm.cics.server

Class NameResource

    • Constructor Summary

      Constructors 
      Constructor and Description
      NameResource()
      Construct a default NameResource.
      NameResource(java.lang.String name)
      Construct a NameResource with a specific name
    • Constructor Detail

      • NameResource

        public NameResource()
        Construct a default NameResource.
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0
      • NameResource

        public NameResource(java.lang.String name)
        Construct a NameResource with a specific name
        Parameters:
        name - The name of the CICS resource
        Throws:
        java.lang.NullPointerException - if the resource name is missing
        Since CICS TS version:
        6.1
        Since package version:
        2.0.0
    • Method Detail

      • dequeue

        public void dequeue()
                     throws LengthErrorException
        Unlock the named resource.
        Throws:
        LengthErrorException - the name of the resource is too long
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0
      • getName

        public java.lang.String getName()
        Return the name of the CICS resource.
        Returns:
        the resource name
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0
      • setName

        public void setName(java.lang.String name)
                     throws java.lang.NullPointerException
        Sets the resource name corresponding to this object.
        Parameters:
        name - the name of the CICS resource
        Throws:
        java.lang.NullPointerException - if the resource name is missing
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0