|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.BaseLocatable org.apache.hivemind.impl.AbstractExtensionPoint
public abstract class AbstractExtensionPoint
Constructor Summary | |
---|---|
AbstractExtensionPoint(Module module,
ExtensionPointDefinition definition)
|
Method Summary | |
---|---|
protected abstract void |
extendDescription(ToStringBuilder builder)
Implemented in subclasses to provide details about subclass properties. |
protected ExtensionPointDefinition |
getDefinition()
|
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. |
Location |
getLocation()
Returns the location from which
this object orginates, or null if not known. |
org.apache.commons.logging.Log |
getLog()
Returns the Log instance for this extension point. |
Module |
getModule()
Returns the Module containing the extension point. |
Visibility |
getVisibility()
|
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. |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
---|
setLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractExtensionPoint(Module module, ExtensionPointDefinition definition)
definition
- the definition of this extension pointMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
protected abstract void extendDescription(ToStringBuilder builder)
public Visibility getVisibility()
public Location getLocation()
Locatable
location
from which
this object orginates, or null if not known.
getLocation
in interface Locatable
getLocation
in class BaseLocatable
public java.lang.String getExtensionPointId()
ExtensionPoint
getExtensionPointId
in interface ExtensionPoint
public Module getModule()
ExtensionPoint
Module
containing the extension point.
getModule
in interface ExtensionPoint
public boolean visibleToModule(Module module)
visibleToModule
in interface ExtensionPoint
module
- 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()
ExtensionPoint
getLog
in interface ExtensionPoint
public ErrorLog getErrorLog()
ExtensionPoint
ErrorLog
used to report any recoverable errors related
to the extension point.
getErrorLog
in interface ExtensionPoint
protected ExtensionPointDefinition getDefinition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |