org.apache.hivemind.internal
Interface ExtensionPoint

All Superinterfaces:
Locatable
All Known Subinterfaces:
ConfigurationPoint, ConstructableServicePoint, ServicePoint
All Known Implementing Classes:
AbstractExtensionPoint, ConfigurationPointImpl, ServicePointImpl

public interface ExtensionPoint
extends Locatable

Base interface for service and configuration extension points.

Author:
Howard Lewis Ship

Method Summary
 ErrorLog getErrorLog()
          Returns an ErrorLogused 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 Modulecontaining the extension point.
 boolean visibleToModule(Module module)
          Returns true if the extension point is visible to the specified module.
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Method Detail

getExtensionPointId

public java.lang.String getExtensionPointId()
Returns the fully qualified id of the extension point.


getModule

public Module getModule()
Returns the Modulecontaining the extension point.


visibleToModule

public boolean visibleToModule(Module module)
Returns true if the extension point is visible to the specified module.

Parameters:
module - The module to check for, may be null (in which case the extension is visible only if public)
Since:
1.1

getLog

public org.apache.commons.logging.Log getLog()
Returns the Log instance for this extension point.


getErrorLog

public ErrorLog getErrorLog()
Returns an ErrorLogused to report any recoverable errors related to the extension point.

Since:
1.1