|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 point| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectprotected abstract void extendDescription(ToStringBuilder builder)
public Visibility getVisibility()
public Location getLocation()
Locatablelocation from which
this object orginates, or null if not known.
getLocation in interface LocatablegetLocation in class BaseLocatablepublic java.lang.String getExtensionPointId()
ExtensionPoint
getExtensionPointId in interface ExtensionPointpublic Module getModule()
ExtensionPointModule containing the extension point.
getModule in interface ExtensionPointpublic 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()
ExtensionPoint
getLog in interface ExtensionPointpublic ErrorLog getErrorLog()
ExtensionPointErrorLog used to report any recoverable errors related
to the extension point.
getErrorLog in interface ExtensionPointprotected ExtensionPointDefinition getDefinition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||