org.apache.hivemind.definition
Interface ServicePointDefinition
- All Superinterfaces: 
- ExtensionPointDefinition, Locatable
- All Known Implementing Classes: 
- ServicePointDefinitionImpl
- public interface ServicePointDefinition 
- extends ExtensionPointDefinition
Defines a service extension point.
 The definition includes the service interface, implementations and interceptors.
- Author:
- Achim Huegen
 
 
 
getInterfaceClassName
java.lang.String getInterfaceClassName()
- 
 
- 
- Returns:
- the fully qualified class name of the service interface. 
 This may be the name of a ordinary class or an interface.
 
getDefaultImplementation
ImplementationDefinition getDefaultImplementation()
- 
 
- 
- Returns:
- the default implementation of the service. The default is selected 
   by ImplementationDefinition.isDefault()if multiple exist.
 
addImplementation
void addImplementation(ImplementationDefinition implementation)
- Adds an implementation definition to the service point.
 
- 
 
- 
- Parameters:
- implementation- the implementation
- Throws:
- ApplicationRuntimeException- if this point is not visible from the module
    that defines the implementation
 
getImplementations
java.util.Collection getImplementations()
- 
 
- 
- Returns:
- the impelementations of this service point as instances of ImplementationDefinition
 
getInterceptors
java.util.Collection getInterceptors()
- 
 
- 
- Returns:
- the interceptors of this service point as instances of InterceptorDefinition
 
addInterceptor
void addInterceptor(InterceptorDefinition interceptor)
- Adds an interceptor definition to the service point.
 
- 
 
- 
- Parameters:
- interceptor- the interceptor
- Throws:
- ApplicationRuntimeException- if this point is not visible from the module 
   that defines the interceptor.
 
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.