All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cisco.oss.foundation.directory.adapter.AbstractModelChangeAdapter Maven / Gradle / Ivy

There is a newer version: 1.2.1-5
Show newest version
package com.cisco.oss.foundation.directory.adapter;

import com.cisco.oss.foundation.directory.entity.ModelServiceInstance;
import com.cisco.oss.foundation.directory.impl.InstanceChangeListener;
/**
 *  Abstract adapter to bridge the 1.2 service instance changes to the 1.1 notifications.
 */
public abstract class AbstractModelChangeAdapter implements InstanceChangeListener {
    private final T adapter;
   
    /**
     * Constructor.
     *
     * @param adapter
     *            the adapter object
     */
    public AbstractModelChangeAdapter(T adapter){
        this.adapter=adapter;
    }
   
    /**
     * Get the adapter object.
     *
     * @return the adapter.
     */
    public T getAdapter(){
        return adapter;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy