org.jbpm.services.ejb.client

## Interface ClientServiceFactory

- All Known Implementing Classes:
    JBossEJBClientServiceFactory

      public interface ClientServiceFactory

  Generic service factory used for remote look ups that are usually container specific.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()` Returns unique name of given factory implementation
    `<T> T` | `getService(String application, Class<T> serviceInterface)` Returns remote view of given service interface from selected application

- - ### Method Detail

    - #### getName

          String getName()

      Returns unique name of given factory implementation
      Returns:

    - #### getService

          <T> T getService(String application,
                         Class<T> serviceInterface)
                       throws NamingException

      Returns remote view of given service interface from selected application
      Parameters:
        `application` - application identifier on the container
        `serviceInterface` - remote service interface to be found
      Returns:
      Throws:
        `NamingException`

Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.