public class Extension extends Object
Modifier and Type | Field and Description |
---|---|
protected Object[] |
args |
protected ClassLoader |
classloader |
protected String |
className |
protected Class<?> |
clazz |
protected boolean |
deferred |
protected String |
interfaceName |
protected Class<?> |
intf |
protected static Logger |
LOG |
protected Collection<String> |
namespaces |
protected boolean |
notFound |
protected Object |
obj |
protected boolean |
optional |
Constructor and Description |
---|
Extension() |
Extension(Class<?> cls) |
Extension(Class<?> cls,
Class<?> inf) |
Extension(ClassLoader loader) |
Extension(Extension ext) |
Modifier and Type | Method and Description |
---|---|
Extension |
cloneNoObject() |
String |
getClassname() |
Class<?> |
getClassObject(ClassLoader cl) |
String |
getInterfaceName() |
Object |
getLoadedObject() |
String |
getName() |
Collection<String> |
getNamespaces() |
boolean |
isDeferred() |
boolean |
isOptional() |
Object |
load(ClassLoader cl,
Bus b) |
Class<?> |
loadInterface(ClassLoader cl) |
void |
setArgs(Object[] a) |
void |
setClassname(String i) |
void |
setDeferred(boolean d) |
void |
setInterfaceName(String i) |
void |
setOptional(boolean b) |
String |
toString() |
protected Class<?> |
tryClass(String name,
ClassLoader cl) |
protected static final Logger LOG
protected String className
protected ClassLoader classloader
protected volatile Class<?> clazz
protected volatile Class<?> intf
protected String interfaceName
protected boolean deferred
protected Collection<String> namespaces
protected Object[] args
protected volatile Object obj
protected boolean optional
protected boolean notFound
public Extension()
public Extension(Class<?> cls)
public Extension(ClassLoader loader)
public Extension(Extension ext)
public void setOptional(boolean b)
public boolean isOptional()
public String getName()
public Object getLoadedObject()
public Extension cloneNoObject()
public String getClassname()
public void setClassname(String i)
public String getInterfaceName()
public void setInterfaceName(String i)
public boolean isDeferred()
public void setDeferred(boolean d)
public Collection<String> getNamespaces()
public void setArgs(Object[] a)
protected Class<?> tryClass(String name, ClassLoader cl)
public Class<?> getClassObject(ClassLoader cl)
public Object load(ClassLoader cl, Bus b)
public Class<?> loadInterface(ClassLoader cl)
Apache CXF