Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## be.fedict.eid.applet.service.impl
Class ServiceLocator<T>

    java.lang.Object
      be.fedict.eid.applet.service.impl.ServiceLocator<T>

Type Parameters:
  `T` - the service type.

    public class ServiceLocator<T>

extends Object

Service locator. Can handle both JNDI references as classname references. Classname referencing can be useful in environments where you don't have a full-blown Java EE application container available.

Author:
  Frank Cornelis

Constructor Summary
`ServiceLocator(String initParam, ServletConfig config)`

Method Summary
`T` | `locateService()` Locates the service.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServiceLocator

    public ServiceLocator(String initParam,
                          ServletConfig config)
                   throws ServletException

Throws:
  `ServletException`

Method Detail

### locateService

    public T locateService()
                    throws ServletException

  Locates the service. Can return `null` in case the corresponding `init-param` was not set.

  Returns:
  Throws:
    `ServletException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2010 FedICT. All Rights Reserved.