Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Available Resource Provider Types

Locating the Resource Provider Class

The "type" parameter is used in resource configuration to locate the resource provider class. for example:

  "type":"FileSystem"

or

  "type":"com.accenture.saga.resourcemgr.filesystem.FileSystemProvider"

The type parameter is used to locate the class using the following steps:

  1. If the type parameter has periods in it
    1. Try and look for the class as specified
      1. For example:  com.accenture.saga.resourcemgr.filesystem.FileSystemProvider
  2. Otherwise:
    1. Try and find the class in the "com.accenture.saga.resourcemgr.filesystem" package
      1. For example:  "FileSystemProvider" → "com.accenture.saga.resourcemgr.filesystem.FileSystemProvider"
    2. Try and find the class with a "Provider" suffix in the "com.accenture.saga.resourcemgr.filesystem" package
      1. For example:  "FileSystem" → "com.accenture.saga.resourcemgr.filesystem.FileSystemProvider"

Types of Resources

Currently, there are two types of resources:

...