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 reference,
String[] adapters) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAdapters() |
org.osgi.framework.ServiceRegistration |
getAdaption() |
org.apache.sling.api.adapter.AdapterFactory |
getFactory() |
void |
setAdaption(org.osgi.framework.ServiceRegistration adaption) |
public AdapterFactoryDescriptor(org.osgi.service.component.ComponentContext context,
org.osgi.framework.ServiceReference reference,
String[] adapters)
public org.apache.sling.api.adapter.AdapterFactory getFactory()
public String[] getAdapters()
public org.osgi.framework.ServiceRegistration getAdaption()
public void setAdaption(org.osgi.framework.ServiceRegistration adaption)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.