|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.fedict.eid.applet.service.impl.ServiceLocator<T>
T
- the service type.public class ServiceLocator<T>
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.
Constructor Summary | |
---|---|
ServiceLocator(java.lang.String initParam,
javax.servlet.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 |
---|
public ServiceLocator(java.lang.String initParam, javax.servlet.ServletConfig config) throws javax.servlet.ServletException
javax.servlet.ServletException
Method Detail |
---|
public T locateService() throws javax.servlet.ServletException
null
in case the
corresponding init-param
was not set.
javax.servlet.ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |