org.apache.hivemind.impl
Class CreateClassServiceConstructor

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.hivemind.internal.AbstractServiceImplementationConstructor
          extended by org.apache.hivemind.impl.CreateClassServiceConstructor
All Implemented Interfaces:
ImplementationConstructor, Locatable, LocationHolder

public final class CreateClassServiceConstructor
extends AbstractServiceImplementationConstructor

Constructs a service by instantiating a class.

Author:
Howard Lewis Ship

Constructor Summary
CreateClassServiceConstructor(Location location, java.lang.String instanceClassName)
           
 
Method Summary
 java.lang.Object constructCoreServiceImplementation(ImplementationConstructionContext context)
          Creates a new core service implementation.
 java.lang.String getInstanceClassName()
           
 void setInstanceClassName(java.lang.String string)
           
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

CreateClassServiceConstructor

public CreateClassServiceConstructor(Location location,
                                     java.lang.String instanceClassName)
Method Detail

constructCoreServiceImplementation

public java.lang.Object constructCoreServiceImplementation(ImplementationConstructionContext context)
Description copied from interface: ImplementationConstructor
Creates a new core service implementation. Can be called multiple times for service models like pooled or threaded.

Parameters:
context - the context of the construction

getInstanceClassName

public java.lang.String getInstanceClassName()

setInstanceClassName

public void setInstanceClassName(java.lang.String string)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.