org.apache.hivemind.impl.servicemodel
Class PrimitiveServiceModel

java.lang.Object
  extended by org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
      extended by org.apache.hivemind.impl.servicemodel.PrimitiveServiceModel
All Implemented Interfaces:
ServiceModel

public final class PrimitiveServiceModel
extends AbstractServiceModelImpl

Implementation of ServiceModel for the primitive services (that do not include the standard deferred instantiation proxy).

Author:
Howard Lewis Ship

Field Summary
 
Fields inherited from class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
_log
 
Fields inherited from interface org.apache.hivemind.internal.ServiceModel
POOLED, PRIMITIVE, SINGLETON, THREADED
 
Constructor Summary
PrimitiveServiceModel(ConstructableServicePoint servicePoint)
           
 
Method Summary
 java.lang.Object getService()
          Constructs the service (the first time this is invoked) and returns it.
 void instantiateService()
          Invokes getService() to ensure that the core service implementation has been instantiated.
 
Methods inherited from class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
addInterceptors, constructBridgeProxy, constructCoreServiceImplementation, constructNewServiceImplementation, constructServiceImplementation, getServicePoint, registerWithShutdownCoordinator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveServiceModel

public PrimitiveServiceModel(ConstructableServicePoint servicePoint)
Method Detail

getService

public java.lang.Object getService()
Constructs the service (the first time this is invoked) and returns it.


instantiateService

public void instantiateService()
Invokes getService() to ensure that the core service implementation has been instantiated.



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