Package org.ow2.joram.spring
Class JoramAdmin
- java.lang.Object
-
- org.ow2.joram.spring.JoramAdmin
-
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
public class JoramAdmin extends Object implements org.springframework.beans.factory.DisposableBean
this class holds the Joram wrapper admin and the connection
-
-
Constructor Summary
Constructors Constructor Description JoramAdmin()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Close the admin wrapper and the connection.static AdminItfgetWrapper()static voidsetConnection(Connection cnx)static voidsetWrapper(AdminItf wrapper)
-
-
-
Field Detail
-
logger
public static final Logger logger
-
wrapper
private static AdminItf wrapper
-
cnx
private static Connection cnx
-
-
Method Detail
-
getWrapper
public static AdminItf getWrapper()
- Returns:
- the admin wrapper
-
setWrapper
public static void setWrapper(AdminItf wrapper)
- Parameters:
wrapper- the admin wrapper to set
-
setConnection
public static void setConnection(Connection cnx)
- Parameters:
cnx- the admin connection to set
-
-