Class AdapterRegistry

java.lang.Object
de.uka.ipd.sdq.sensorframework.adapter.AdapterRegistry

public class AdapterRegistry extends Object
Deprecated.
Superseded by EDP2.
This registry can store adapter factories (cf. interface IAdapterFactory), but cannot remove them. It can be queried, but not reset.
  • Method Details

    • singleton

      public static AdapterRegistry singleton()
      Deprecated.
    • addAdapterFactory

      public void addAdapterFactory(IAdapterFactory adapterFactory)
      Deprecated.
    • canAdapt

      public boolean canAdapt(Object adaptee, Class<?> targetClass)
      Deprecated.
    • getAdapter

      public IAdapter getAdapter(Object objToAdapt, Class<?> class1)
      Deprecated.
      Returns the first adapter suitable for passed parameters
      Parameters:
      objToAdapt -
      class1 -
      Returns:
    • getAllAvailableFactories

      public List<IAdapterFactory> getAllAvailableFactories(Class<?> targetClass)
      Deprecated.
    • getAllAvailableFactories

      public List<IAdapterFactory> getAllAvailableFactories(Object adaptee, Class<?> targetClass)
      Deprecated.
    • getFactoryByID

      public IAdapterFactory getFactoryByID(String factoryID)
      Deprecated.