Class SlingAdaptable

java.lang.Object
org.apache.sling.api.adapter.SlingAdaptable
org.apache.sling.adapter.SlingAdaptable
All Implemented Interfaces:
Adaptable

@Deprecated public abstract class SlingAdaptable extends SlingAdaptable
Deprecated.
Use the SlingAdaptable instead
The SlingAdaptable class is an (abstract) default implementation of the Adaptable interface. It just uses the default AdapterManager implemented in this bundle to adapt the itself to the requested type.

Extensions of this class may overwrite the SlingAdaptable.adaptTo(Class) method using their own knowledge of adapters and may call this base class implementation to fall back to an extended adapters.

  • Constructor Details

    • SlingAdaptable

      public SlingAdaptable()
      Deprecated.