|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A FactoryCallback
is used to provide custom implementations of the creation of Grid service instances.
The callback object is associated with a GridServiceBase
service, which represents the base factory service.
The base service can for example be used the get configuration settings for this factory.
GridServiceBase
Method Summary | |
GridServiceBase |
createServiceObject(ExtensibilityType creationParameters,
ExtensibilityTypeHolder extensibilityOutput)
creates a new Grid service instance that implements the GridServiceBase |
void |
initialize(GridServiceBase base)
associates this object with its GridServiceBase service. |
Method Detail |
public void initialize(GridServiceBase base) throws GridServiceException
base
- factory service that this factory callback should create services for
GridServiceException
- if the callback object could not be initializedpublic GridServiceBase createServiceObject(ExtensibilityType creationParameters, ExtensibilityTypeHolder extensibilityOutput) throws GridServiceException
GridServiceBase interface
- Parameters:
creationParameters
- parameters the client may pass to the factory at creation time
- Throws:
GridServiceException
- if the service instance could not be created
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |