|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xpn.xwiki.tool.backup.AbstractPackager
public class AbstractPackager
Common code for importing and exporting.
| Constructor Summary | |
|---|---|
AbstractPackager()
|
|
| Method Summary | |
|---|---|
protected com.xpn.xwiki.XWikiContext |
createXWikiContext(java.lang.String databaseName,
java.io.File hibernateConfig)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPackager()
| Method Detail |
|---|
protected com.xpn.xwiki.XWikiContext createXWikiContext(java.lang.String databaseName,
java.io.File hibernateConfig)
throws java.lang.Exception
databaseName - some database name (TODO: find out what this name is really)hibernateConfig - the Hibernate config fill containing the database definition (JDBC driver, username and
password, etc)
java.lang.Exception - failed to initialize context.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||