public abstract class AbstractExtensionPoint extends BaseLocatable implements ExtensionPoint
| Constructor and Description |
|---|
AbstractExtensionPoint() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
extendDescription(ToStringBuilder builder)
Implemented in subclasses to provide details about subclass properties.
|
ErrorLog |
getErrorLog()
Returns an
ErrorLog used to report any recoverable errors related
to the extension point. |
java.lang.String |
getExtensionPointId()
Returns the fully qualified id of the extension point.
|
org.apache.commons.logging.Log |
getLog()
Returns the Log instance for this extension point.
|
Module |
getModule()
Returns the
Module containing the extension point. |
void |
setExtensionPointId(java.lang.String extensionPointId) |
void |
setModule(Module module) |
void |
setVisibility(Visibility visibility) |
java.lang.String |
toString() |
boolean |
visibleToModule(Module module)
Returns true if the extension point is public, or the extgension point is visible to the
module.
|
getLocation, setLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocationpublic AbstractExtensionPoint()
public java.lang.String toString()
toString in class java.lang.Objectprotected abstract void extendDescription(ToStringBuilder builder)
public void setExtensionPointId(java.lang.String extensionPointId)
public java.lang.String getExtensionPointId()
ExtensionPointgetExtensionPointId in interface ExtensionPointpublic Module getModule()
ExtensionPointModule containing the extension point.getModule in interface ExtensionPointpublic void setVisibility(Visibility visibility)
public boolean visibleToModule(Module module)
visibleToModule in interface ExtensionPointmodule - The module to validate visibility against, or null for no module ... such as when
the application accesses an extension via Registry.public org.apache.commons.logging.Log getLog()
ExtensionPointgetLog in interface ExtensionPointpublic ErrorLog getErrorLog()
ExtensionPointErrorLog used to report any recoverable errors related
to the extension point.getErrorLog in interface ExtensionPoint