org.apache.cxf.bus.extension
Class Extension
java.lang.Object
org.apache.cxf.bus.extension.Extension
- Direct Known Subclasses:
- CXFExtensionBundleListener.OSGiExtension
public class Extension
- extends Object
LOG
protected static final Logger LOG
className
protected String className
classloader
protected ClassLoader classloader
clazz
protected Class<?> clazz
intf
protected Class<?> intf
interfaceName
protected String interfaceName
deferred
protected boolean deferred
namespaces
protected Collection<String> namespaces
args
protected Object[] args
obj
protected Object obj
optional
protected boolean optional
notFound
protected boolean notFound
Extension
public Extension()
Extension
public Extension(Class<?> cls,
Class<?> inf)
Extension
public Extension(Class<?> cls)
Extension
public Extension(ClassLoader loader)
Extension
public Extension(Extension ext)
setOptional
public void setOptional(boolean b)
isOptional
public boolean isOptional()
getName
public String getName()
getLoadedObject
public Object getLoadedObject()
cloneNoObject
public Extension cloneNoObject()
toString
public String toString()
- Overrides:
toString
in class Object
getClassname
public String getClassname()
setClassname
public void setClassname(String i)
getInterfaceName
public String getInterfaceName()
setInterfaceName
public void setInterfaceName(String i)
isDeferred
public boolean isDeferred()
setDeferred
public void setDeferred(boolean d)
getNamespaces
public Collection<String> getNamespaces()
setArgs
public void setArgs(Object[] a)
tryClass
protected Class<?> tryClass(String name,
ClassLoader cl)
getClassObject
public Class<?> getClassObject(ClassLoader cl)
load
public Object load(ClassLoader cl,
Bus b)
loadInterface
public Class<?> loadInterface(ClassLoader cl)
Apache CXF