org.apache.hivemind.definition
Interface ConstructionContext
- All Known Subinterfaces: 
- ContributionContext, ImplementationConstructionContext
- All Known Implementing Classes: 
- AbstractConstructionContext, ImplementationConstructionContextImpl
- public interface ConstructionContext 
Interface that provides access to information and services needed
 during the construction of an extension
 or extension point.
- Author:
- Achim Huegen
 
getDefiningModule
Module getDefiningModule()
- 
- Returns:
- the module that defined the constructor that is constructed now.
 
getService
java.lang.Object getService(java.lang.String serviceId,
                            java.lang.Class serviceInterface)
- 
- See Also:
- Module.getService(String, Class)
 
getService
java.lang.Object getService(java.lang.Class serviceInterface)
- 
- See Also:
- Module.getService(Class)
 
containsService
boolean containsService(java.lang.Class serviceInterface)
- 
- See Also:
- Module.containsService(Class)
 
getConfiguration
java.lang.Object getConfiguration(java.lang.String configurationId)
- 
- See Also:
- Module.getConfiguration(String)
 
getRegistry
RegistryInfrastructure getRegistry()
- Returns a reference to the RegistryInfrastructure. 
 This allows access to services and configurations without the visibility checks
 performed by the other getter methods.
 
- 
- Returns:
- the registry
 
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.