org.apache.hivemind.parse
Class CreateInstanceDescriptor
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.parse.CreateInstanceDescriptor
- All Implemented Interfaces:
- Locatable, LocationHolder, InstanceBuilder
public final class CreateInstanceDescriptor
- extends BaseLocatable
- implements InstanceBuilder
Descriptor for the <create-instance< element, used to create
a core service implementation from a class name.
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CreateInstanceDescriptor
public CreateInstanceDescriptor()
getInstanceClassName
public java.lang.String getInstanceClassName()
setInstanceClassName
public void setInstanceClassName(java.lang.String string)
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
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)