|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.util.Utils
public class Utils
Implements some general utilities
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static void |
critical(java.lang.String message)
Logs a critical message |
static void |
debug(java.lang.String message)
Logs a debug message |
static Session |
getSession(IRepositoryProvider repFactory,
java.lang.String user,
java.lang.String password,
java.lang.String workspace)
Creates and returns a JCR Session object |
static void |
major(java.lang.String message)
Logs a major message |
static void |
warning(java.lang.String message)
Logs a warning message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static Session getSession(IRepositoryProvider repFactory, java.lang.String user, java.lang.String password, java.lang.String workspace)
repFactory,
- jsr 170 repository target of the connectionuser,
- user name used to open the connection to the repositorypassword,
- password used to open the connection to the repositoryworkspace,
- name of the workspace used to open the connectionpublic static void debug(java.lang.String message)
message
- Message to logpublic static void major(java.lang.String message)
message
- Message to logpublic static void critical(java.lang.String message)
message
- Message to logpublic static void warning(java.lang.String message)
message
- Message to log
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |