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

de.tsl2.nano.bean.def.IPluggable Maven / Gradle / Ivy

Go to download

TSL2 Framework Descriptor (currency-handling, generic formatter, descriptors for beans, collections, actions and values)

There is a newer version: 2.5.1
Show newest version
/*
 * File: $HeadURL$
 * Id  : $Id$
 * 
 * created by: Tom
 * created on: 23.10.2014
 * 
 * Copyright: (c) Thomas Schneider 2014, all rights reserved
 */
package de.tsl2.nano.bean.def;

import java.util.Collection;

import de.tsl2.nano.bean.IConnector;

/**
 * to be extendable...
 * 

* The pluggable implementation is like a parent for the connectors. The pluggable itself should be the CONNECTOREND. * * @author Tom * @version $Revision$ */ public interface IPluggable { /** * getPlugins * * @return all available connectors to this instance */ Collection> getPlugins(); /** * the given plugin will be connected to *this*, calling plugin.connect(this). * * @param plugin The plugin to add. */ void addPlugin(IConnector plugin); /** * the given plugin will be disconnected from *this*, calling plugin.disconnect(this). * * @param plugin to remove * @return true, if plugin was removed */ boolean removePlugin(IConnector plugin); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy