org.apache.hivemind.definition.impl
Class ImplementationDefinitionImpl
java.lang.Object
org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
org.apache.hivemind.definition.impl.ImplementationDefinitionImpl
- All Implemented Interfaces:
- ExtensionDefinition, ImplementationDefinition, Locatable
public class ImplementationDefinitionImpl
- extends ExtensionDefinitionImpl
- implements ImplementationDefinition
Default implementation of ImplementationDefinition
.
- Author:
- Achim Huegen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImplementationDefinitionImpl
public ImplementationDefinitionImpl(ModuleDefinition module)
ImplementationDefinitionImpl
public ImplementationDefinitionImpl(ModuleDefinition module,
Location location,
ImplementationConstructor implementationConstructor,
java.lang.String serviceModel,
boolean isDefault)
getServiceModel
public java.lang.String getServiceModel()
- Specified by:
getServiceModel
in interface ImplementationDefinition
- Returns:
- the name of the
ServiceModel
to use - See Also:
ImplementationDefinition.getServiceModel()
setServiceModel
public void setServiceModel(java.lang.String serviceModel)
- Sets the service model of the implementation.
isDefault
public boolean isDefault()
- Specified by:
isDefault
in interface ImplementationDefinition
- Returns:
- true, if this is the default implementation of the service
- See Also:
ImplementationDefinition.isDefault()
setDefault
public void setDefault(boolean isDefault)
- Sets the default attribute of the implementation.
- Parameters:
isDefault
- true, if this implementation is the default one
getServiceConstructor
public ImplementationConstructor getServiceConstructor()
- Specified by:
getServiceConstructor
in interface ImplementationDefinition
- Returns:
- the constructor for the creation of the implementation instance.
- See Also:
ImplementationDefinition.getServiceConstructor()
setImplementationConstructor
public void setImplementationConstructor(ImplementationConstructor serviceConstructor)
- Sets the constructor implementation that is used for the creation of
the implementation instance.
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.