|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JndiControl
The Jndi Control encapsulates access to the JNDI context. It provides annotation for setting the factory and provider URL.
Nested Class Summary | |
---|---|
static interface |
JndiControl.Properties
|
Method Summary | |
---|---|
InitialContext |
getInitialContext()
Get the JNDI initial context. |
Object |
getResource(String resource,
Class resourceClass)
Get a JNDI based resource. |
Method Detail |
---|
Object getResource(String resource, Class resourceClass) throws ControlException
resource
- the resource name.resourceClass
- the resource class.
ControlException
InitialContext getInitialContext() throws ControlException
ControlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |