org.globus.ogsa.impl.ogsi
Class DynamicFactoryCallbackImpl

java.lang.Object
  extended byorg.globus.ogsa.impl.ogsi.DynamicFactoryCallbackImpl
All Implemented Interfaces:
FactoryCallback
Direct Known Subclasses:
DynamicFactoryLifecycleCallbackImpl

public class DynamicFactoryCallbackImpl
extends java.lang.Object
implements FactoryCallback


Field Summary
protected  GridServiceBase base
           
 
Constructor Summary
DynamicFactoryCallbackImpl()
           
 
Method Summary
 GridServiceBase createServiceObject(ExtensibilityType creation, ExtensibilityTypeHolder extensibilityOutput)
          creates a new Grid service instance that implements the GridServiceBase interface
 void initialize(GridServiceBase base)
          associates this object with its GridServiceBase service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

base

protected GridServiceBase base
Constructor Detail

DynamicFactoryCallbackImpl

public DynamicFactoryCallbackImpl()
Method Detail

initialize

public void initialize(GridServiceBase base)
                throws GridServiceException
Description copied from interface: FactoryCallback
associates this object with its GridServiceBase service. This method is called when the first instance creation is requested.

Specified by:
initialize in interface FactoryCallback
Parameters:
base - factory service that this factory callback should create services for
Throws:
GridServiceException - if the callback object could not be initialized

createServiceObject

public GridServiceBase createServiceObject(ExtensibilityType creation,
                                           ExtensibilityTypeHolder extensibilityOutput)
                                    throws GridServiceException
Description copied from interface: FactoryCallback
creates a new Grid service instance that implements the GridServiceBase interface

Specified by:
createServiceObject in interface FactoryCallback
Parameters:
creation - parameters the client may pass to the factory at creation time
Throws:
GridServiceException - if the service instance could not be created


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.