org.apache.hivemind.parse
Class InvokeFactoryDescriptor

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.hivemind.parse.AbstractServiceInvocationDescriptor
          extended by org.apache.hivemind.parse.InvokeFactoryDescriptor
All Implemented Interfaces:
Locatable, LocationHolder, InstanceBuilder

public final class InvokeFactoryDescriptor
extends AbstractServiceInvocationDescriptor
implements InstanceBuilder

Descriptor for the <invoke-factory> element.

Author:
Howard Lewis Ship

Constructor Summary
InvokeFactoryDescriptor()
           
 
Method Summary
 ServiceImplementationConstructor createConstructor(ServicePoint point, Module contributingModule)
          Returns an instance of ServiceImplementationConstructor that will ultimately create the service implementation instance.
protected  void extendDescription(ToStringBuilder builder)
          Overridden in subclasses to provide more information about the instance.
 java.lang.String getServiceModel()
          Returns the name of a service model appropriate for the instance that will be created by the ServiceImplementationConstructor.
 void setServiceModel(java.lang.String serviceModel)
           
 
Methods inherited from class org.apache.hivemind.parse.AbstractServiceInvocationDescriptor
addParameter, getFactoryServiceId, getParameters, setFactoryServiceId, toString
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

InvokeFactoryDescriptor

public InvokeFactoryDescriptor()
Method Detail

createConstructor

public ServiceImplementationConstructor createConstructor(ServicePoint point,
                                                          Module contributingModule)
Description copied from interface: InstanceBuilder
Returns an instance of ServiceImplementationConstructor that will ultimately create the service implementation instance.

Specified by:
createConstructor in interface InstanceBuilder

getServiceModel

public java.lang.String getServiceModel()
Description copied from interface: InstanceBuilder
Returns the name of a service model appropriate for the instance that will be created by the ServiceImplementationConstructor.

Specified by:
getServiceModel in interface InstanceBuilder

setServiceModel

public void setServiceModel(java.lang.String serviceModel)

extendDescription

protected void extendDescription(ToStringBuilder builder)
Description copied from class: AbstractServiceInvocationDescriptor
Overridden in subclasses to provide more information about the instance. This implementation does nothing.

Overrides:
extendDescription in class AbstractServiceInvocationDescriptor