com.ibm.cics.server

Class NameResource

    • Constructor Summary

      Constructors 
      Constructor and Description
      NameResource()
      Construct a default NameResource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void dequeue()
      Unlock the named resource.
      void enqueue()
      Attempt to lock the named resource.
      java.lang.String getName()
      Return the name of the CICS resource.
      void setName(java.lang.String name)
      Sets the resource name corresponding to this object.
      void tryEnqueue()
      Attempt to lock the named resource without suspending.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NameResource

        public NameResource()
        Construct a default NameResource.
        Since CICS TS version:
        1.3
        Since package version:
        1.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
      • 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
      • 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