| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JPAServletContext
An operating context provides a persistence context and utility functions within
 which all JEST commands execute.
| Method Summary | |
|---|---|
|  OpenJPAEntityManager | getPersistenceContext()Get the persistence context of the operational context. | 
|  String | getPersistenceUnitName()Get the persistence unit name. | 
|  HttpServletRequest | getRequest()Get the HTTP Request. | 
|  String | getRequestURI()Get the requested URI. | 
|  HttpServletResponse | getResponse()Get the HTTP Response. | 
|  void | log(short level,
    String message)Logging message. | 
|  ClassMetaData | resolve(String alias)Resolve the given alias to meta-data of the persistent type. | 
| Method Detail | 
|---|
OpenJPAEntityManager getPersistenceContext()
String getPersistenceUnitName()
HttpServletRequest getRequest()
HttpServletResponse getResponse()
String getRequestURI()
ClassMetaData resolve(String alias)
alias - a moniker for the Java type. It can be fully qualified type name or entity name
 or simple name of the actual persistent Java class.
raises - runtime exception if the given name can not be identified to a persistent
 Java type.
void log(short level,
         String message)
level - OpenJPA defined log levels. Invalid levels will print the message on console.message - a printable message.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||