Class AutoWireStateManagerImpl

    • Method Detail

      • isObjectAvailable

        public boolean isObjectAvailable​(java.lang.String qualifier,
                                         java.lang.Class<?> objectType)
        Description copied from interface: AutoWireStateManager
        Indicates if the object by auto-wiring is available.
        Specified by:
        isObjectAvailable in interface AutoWireStateManager
        Parameters:
        qualifier - Qualifier. May be null.
        objectType - Required object type.
        Returns:
        true if the object is available.
      • getObject

        public <O> O getObject​(java.lang.String qualifier,
                               java.lang.Class<? extends O> objectType,
                               long timeoutInMilliseconds)
                        throws UnknownObjectException,
                               java.lang.Throwable
        Description copied from interface: AutoWireStateManager
        Obtains the object for the ManagedObject synchronously.
        Specified by:
        getObject in interface AutoWireStateManager
        Parameters:
        qualifier - Qualifier. May be null.
        objectType - Required object type.
        timeoutInMilliseconds - Time out in milliseconds to wait for the ManagedObject creation.
        Returns:
        Object.
        Throws:
        UnknownObjectException - If unknown bound object name.
        java.lang.Throwable - If failure in obtaining the bound object.
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception
      • getNodeName

        public java.lang.String getNodeName()
        Description copied from interface: Node
        Obtains the name of the Node.
        Specified by:
        getNodeName in interface Node
        Returns:
        Name of the Node.
      • getNodeType

        public java.lang.String getNodeType()
        Description copied from interface: Node
        Obtains the Node type.
        Specified by:
        getNodeType in interface Node
        Returns:
        Node type.
      • getLocation

        public java.lang.String getLocation()
        Description copied from interface: Node
        Obtains the location of the Node.
        Specified by:
        getLocation in interface Node
        Returns:
        Location of the Node. May be null if Node does not support a location.
      • getParentNode

        public Node getParentNode()
        Description copied from interface: Node
        Obtains the Node containing this Node.
        Specified by:
        getParentNode in interface Node
        Returns:
        Node containing this Node.
      • isInitialised

        public boolean isInitialised()
        Description copied from interface: Node
        Indicates if the Node has been initialised. Node instances should only be initialised once. Initialising the Node twice is an issue.
        Specified by:
        isInitialised in interface Node
        Returns:
        true if initialised.
      • getChildNodes

        public Node[] getChildNodes()
        Description copied from interface: Node
        Obtains the child Node instances.
        Specified by:
        getChildNodes in interface Node
        Returns:
        Child Node instances.