Class NotReallyAnAdapterFactory

  • All Implemented Interfaces:
    org.apache.sling.api.adapter.AdapterFactory

    public class NotReallyAnAdapterFactory
    extends Object
    implements org.apache.sling.api.adapter.AdapterFactory
    Service which looks like an adapter factory, but isn't. See SLING-2522.
    • Constructor Detail

      • NotReallyAnAdapterFactory

        public NotReallyAnAdapterFactory()
    • Method Detail

      • getAdapter

        public <AdapterType> AdapterType getAdapter​(Object adaptable,
                                                    Class<AdapterType> type)
        Specified by:
        getAdapter in interface org.apache.sling.api.adapter.AdapterFactory