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 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.
 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

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


getModule

Module getModule()
Returns the Module containing the extension point.


visibleToModule

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

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


getErrorLog

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

Since:
1.1


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.