com.ibm.wsspi.collective.repository

Class RepositoryConnectionFactory

  • java.lang.Object
    • com.ibm.wsspi.collective.repository.RepositoryConnectionFactory


  • public class RepositoryConnectionFactory
    extends java.lang.Object
    The RepositoryConnectionFactory creates (or retrieves) RepositoryClient and RepositoryMember.

    The RepositoryClient or RepositoryMember returned can be held for a reasonable amount of time, and changes to the collective feature configuration will be gracefully handled.

    The RepositoryConnectionFactory is also exposed as an OSGi service so that consumers of the service can block until the RepositoryConnectionFactory is ready, that is at least the RepositoryClient and RepositoryMember are available.

    • Constructor Detail

      • RepositoryConnectionFactory

        public RepositoryConnectionFactory()
    • Method Detail

      • getRepositoryClient

        public static RepositoryClient getRepositoryClient()
        Retrieve a RepositoryClient connection.

        If no implementation is available, null will be returned and an error message will be logged.

        Returns:
        RepositoryClient implementation if available, null otherwise.
      • getRepositoryMember

        public static RepositoryMember getRepositoryMember()
        Retrieve a RepositoryMember connection.

        If no implementation is available, null will be returned and an error message will be logged.

        Returns:
        RepositoryMember implementation if available, null otherwise.