Class ProvisioningAdapterManager

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    public class ProvisioningAdapterManager
    extends Object
    implements org.springframework.beans.factory.InitializingBean
    An adapter manager. Makes writing tests much easier.
    Version:
    $Id: $
    Author:
    David Hustace
    • Constructor Detail

      • ProvisioningAdapterManager

        public ProvisioningAdapterManager()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception

        afterPropertiesSet

        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception - if any.
      • setPluginRegistry

        public void setPluginRegistry​(PluginRegistry pluginRegistry)

        setPluginRegistry

        Parameters:
        pluginRegistry - a PluginRegistry object.
      • handleNodeAddedEvent

        public void handleNodeAddedEvent​(IEvent e)

        handleNodeAddedEvent

        Parameters:
        e - a IEvent object.
      • handleNodeUpdatedEvent

        public void handleNodeUpdatedEvent​(IEvent e)

        handleNodeUpdatedEvent

        Parameters:
        e - a IEvent object.
      • handleNodeDeletedEvent

        public void handleNodeDeletedEvent​(IEvent e)

        handleNodeDeletedEvent

        Parameters:
        e - a IEvent object.
      • handleNodeScanCompletedEvent

        public void handleNodeScanCompletedEvent​(IEvent e)

        handleNodeScanCompletedEvent

        Note: If the operations are properly scheduled and handled using the SimpleQueuedProvisioningAdapter, even though this event is sent following a nodeUpdated event, the update operation task should be reduced to 1 operation on the queue.
        Parameters:
        e - a IEvent object.
      • handleNodeChangedEvent

        public void handleNodeChangedEvent​(IEvent e)

        handleNodeChangedEvent

        Parameters:
        e - a IEvent object.
      • setEventForwarder

        public void setEventForwarder​(EventForwarder eventForwarder)

        setEventForwarder

        Parameters:
        eventForwarder - a EventForwarder object.
      • initializeAdapters

        public void initializeAdapters()

        initializeAdapters