public class WGPDeployer extends java.lang.Object implements WGACoreEventListener
Modifier and Type | Class and Description |
---|---|
class |
WGPDeployer.TMLCloseTagsPreProcessor |
class |
WGPDeployer.TMLTagsPreProcessor |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FOLDER_DYNAMIC_RESOURCES |
static java.lang.String |
REQATTRIB_TML_DEPLOYED |
Constructor and Description |
---|
WGPDeployer(WGACore core) |
Modifier and Type | Method and Description |
---|---|
void |
contentStoreConnected(WGACoreEvent event)
Called after a content store has been connected
|
void |
contentStoreDisconnected(WGACoreEvent event)
Called after a content store has been disconnected
|
java.lang.String |
deployErrorPage(java.lang.String code) |
DeployedLayout |
deployInlineTML(de.innovationgate.webgate.api.WGTMLModule tmlLib,
java.lang.String inlineName,
java.lang.String code,
int codeOffset,
javax.servlet.ServletRequest req) |
java.lang.String |
filenameToTMLModuleName(java.lang.String filename) |
java.util.Date |
getLastChangedOrDeployed(de.innovationgate.webgate.api.WGDatabase db) |
java.util.Date |
getLastDeployed(java.lang.String dbKey) |
java.util.Map<java.lang.String,DeployedLayout> |
getLayoutMappings() |
boolean |
isTemporary() |
java.lang.String |
locateTmlResource(de.innovationgate.webgate.api.WGTMLModule tmlLib,
javax.servlet.ServletRequest servletRequest) |
java.lang.String |
preprocessCode(de.innovationgate.webgate.api.WGTMLModule mod,
java.lang.String code,
int codeOffset) |
void |
removeLayouts(de.innovationgate.webgate.api.WGDatabase db) |
void |
shutdown() |
void |
shutdownPostDisconnect(WGACoreEvent event)
Called on WGA shutdown after databases haved been disconnected
|
void |
shutdownPreDisconnect(WGACoreEvent event)
Called on WGA shutdown before databases are disconnected
|
void |
startup() |
void |
startupPostConnect(WGACoreEvent event)
Called on WGA startup after databases have been connected
|
void |
startupPreConnect(WGACoreEvent event)
Called on WGA startup before databases are connected
|
public static final java.lang.String FOLDER_DYNAMIC_RESOURCES
public static final java.lang.String REQATTRIB_TML_DEPLOYED
public WGPDeployer(WGACore core)
public void shutdown()
public DeployedLayout deployInlineTML(de.innovationgate.webgate.api.WGTMLModule tmlLib, java.lang.String inlineName, java.lang.String code, int codeOffset, javax.servlet.ServletRequest req) throws DeployerException
DeployerException
public java.lang.String filenameToTMLModuleName(java.lang.String filename)
public java.lang.String locateTmlResource(de.innovationgate.webgate.api.WGTMLModule tmlLib, javax.servlet.ServletRequest servletRequest) throws de.innovationgate.webgate.api.WGAPIException, DeployerException
de.innovationgate.webgate.api.WGAPIException
DeployerException
public boolean isTemporary()
WGDatabaseEventListener.isTemporary()
public java.util.Map<java.lang.String,DeployedLayout> getLayoutMappings()
public void removeLayouts(de.innovationgate.webgate.api.WGDatabase db)
public java.lang.String preprocessCode(de.innovationgate.webgate.api.WGTMLModule mod, java.lang.String code, int codeOffset) throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIException
public void startup()
public java.util.Date getLastChangedOrDeployed(de.innovationgate.webgate.api.WGDatabase db)
public java.util.Date getLastDeployed(java.lang.String dbKey)
public java.lang.String deployErrorPage(java.lang.String code) throws java.io.IOException
domainConfig
- java.io.IOException
public void contentStoreConnected(WGACoreEvent event)
WGACoreEventListener
contentStoreConnected
in interface WGACoreEventListener
public void contentStoreDisconnected(WGACoreEvent event)
WGACoreEventListener
contentStoreDisconnected
in interface WGACoreEventListener
public void shutdownPostDisconnect(WGACoreEvent event)
WGACoreEventListener
shutdownPostDisconnect
in interface WGACoreEventListener
public void shutdownPreDisconnect(WGACoreEvent event)
WGACoreEventListener
shutdownPreDisconnect
in interface WGACoreEventListener
public void startupPostConnect(WGACoreEvent event)
WGACoreEventListener
startupPostConnect
in interface WGACoreEventListener
public void startupPreConnect(WGACoreEvent event)
WGACoreEventListener
startupPreConnect
in interface WGACoreEventListener