public class AdapterFactoryDescriptor extends Object
AdapterFactoryDescriptor
is an entry in the
AdapterFactoryDescriptorMap
conveying the list of adapter (target)
types and the respective AdapterFactory
.Constructor and Description |
---|
AdapterFactoryDescriptor(org.osgi.service.component.ComponentContext context,
org.osgi.framework.ServiceReference<org.apache.sling.api.adapter.AdapterFactory> reference,
String[] adapters) |
Modifier and Type | Method and Description |
---|---|
String[] |
getAdapters() |
org.osgi.framework.ServiceRegistration<Adaption> |
getAdaption() |
org.apache.sling.api.adapter.AdapterFactory |
getFactory() |
void |
setAdaption(org.osgi.framework.ServiceRegistration<Adaption> adaption) |
public AdapterFactoryDescriptor(org.osgi.service.component.ComponentContext context, org.osgi.framework.ServiceReference<org.apache.sling.api.adapter.AdapterFactory> reference, String[] adapters)
public org.apache.sling.api.adapter.AdapterFactory getFactory()
public String[] getAdapters()
public org.osgi.framework.ServiceRegistration<Adaption> getAdaption()
public void setAdaption(org.osgi.framework.ServiceRegistration<Adaption> adaption)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.