|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgoldengate.ftp.core.config.FtpConfiguration
goldengate.ftp.exec.config.FileBasedConfiguration
public class FileBasedConfiguration
FtpConfiguration based on a XML file
Field Summary | |
---|---|
String |
ADMINNAME
Admin name Id |
goldengate.snmp.GgSnmpAgent |
agentSnmp
SNMP Agent (if any) |
String |
authenticationFile
File containing the authentications |
FtpConstraintLimitHandler |
constraintLimitHandler
Limit on CPU and Connection |
goldengate.common.crypto.Des |
cryptoKey
Crypto Key |
long |
delayLimit
Delay in ms between two checks |
static FileBasedConfiguration |
fileBasedConfiguration
Use to access directly the configuration |
FtpPrivateMib |
ftpMib
Associated MIB |
String |
HOST_ID
FTP server ID |
String |
httpBasePath
Http Admin base |
long |
maxGlobalMemory
Max global memory limit: default is 4GB |
FtpMonitoring |
monitoring
Monitoring object |
int |
SERVER_HTTPPORT
Default HTTP server port |
int |
SERVER_HTTPSPORT
Default HTTP server port |
String |
snmpConfig
Monitoring: snmp configuration file (empty means no snmp support) |
boolean |
useHttpCompression
Does this server will try to compress HTTP connections |
boolean |
useLocalExec
Does this server will use GoldenGate LocalExec Daemon for Execute |
static String |
XML_DELAYRETRIEVE_COMMAND
DELAY RETRIEVE COMMAND |
static String |
XML_DELAYSTORE_COMMAND
DELAY STORE COMMAND |
static String |
XML_RETRIEVE_COMMAND
RETRIEVE COMMAND |
static String |
XML_STORE_COMMAND
STORE COMMAND |
Fields inherited from class goldengate.ftp.core.config.FtpConfiguration |
---|
BLOCKSIZE, businessHandler, CLIENT_THREAD, dataBusinessHandler, DEFAULT_GLOBAL_LIMIT, DEFAULT_SESSION_LIMIT, deleteOnAbort, fromClass, isShutdown, SERVER_THREAD, serverChannelReadLimit, serverChannelWriteLimit, serverGlobalReadLimit, serverGlobalWriteLimit, TIMEOUTCON, USEJDK6 |
Constructor Summary | |
---|---|
FileBasedConfiguration(Class<?> classtype,
Class<? extends goldengate.ftp.core.control.BusinessHandler> businessHandler,
Class<? extends goldengate.ftp.core.data.handler.DataBusinessHandler> dataBusinessHandler,
goldengate.common.file.FileParameterInterface fileParameter)
|
Method Summary | |
---|---|
boolean |
checkPassword(String password)
Check the password for Shutdown |
void |
configureConstraint()
Configure ConstraintLimitHandler |
void |
configureHttps()
Configure HTTPS |
void |
configureLExec()
Configure LocalExec |
void |
configureSnmp()
Configure the SNMP support if needed |
String |
getHtmlAuth(String format)
|
String |
getHtmlTransfer(String format,
int limit)
Only available with Database support for GoldenGate |
org.jboss.netty.channel.group.ChannelGroup |
getHttpChannelGroup()
|
org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor |
getHttpPipelineExecutor()
|
int |
getNextRangePort()
|
SimpleAuth |
getSimpleAuth(String user)
|
boolean |
initializeAuthent(String filename,
boolean purge)
Initialize Authentication from current authenticationFile |
void |
inShutdownProcess()
|
void |
releaseResources()
|
boolean |
saveAuthenticationFile(String filename)
Export the Authentication to the original files |
boolean |
setConfigurationServerFromXml(String filename)
Initiate the configuration from the xml file for server |
void |
setSERVERKEY(byte[] serverkey)
|
Methods inherited from class goldengate.ftp.core.config.FtpConfiguration |
---|
bindLock, bindUnlock, changeNetworkLimit, computeNbThreads, delFtpSession, getBaseDirectory, getDataBusinessHandler, getDelayLimit, getFileParameter, getFileProperty, getFtpInternalConfiguration, getFtpSession, getIntProperty, getLock, getProperty, getServerAddress, getServerChannelReadLimit, getServerChannelWriteLimit, getServerGlobalReadLimit, getServerGlobalWriteLimit, getServerPort, getStringProperty, getUniqueExtension, hasFtpSession, serverStartup, setBaseDirectory, setFileProperty, setIntProperty, setNewFtpSession, setPassword, setProperty, setServerAddress, setServerPort, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String XML_RETRIEVE_COMMAND
public static final String XML_STORE_COMMAND
public static final String XML_DELAYRETRIEVE_COMMAND
public static final String XML_DELAYSTORE_COMMAND
public static FileBasedConfiguration fileBasedConfiguration
public String authenticationFile
public int SERVER_HTTPPORT
public int SERVER_HTTPSPORT
public long maxGlobalMemory
public String httpBasePath
public long delayLimit
public boolean useHttpCompression
public boolean useLocalExec
public goldengate.common.crypto.Des cryptoKey
public String HOST_ID
public String ADMINNAME
public FtpConstraintLimitHandler constraintLimitHandler
public String snmpConfig
public goldengate.snmp.GgSnmpAgent agentSnmp
public FtpPrivateMib ftpMib
public FtpMonitoring monitoring
Constructor Detail |
---|
public FileBasedConfiguration(Class<?> classtype, Class<? extends goldengate.ftp.core.control.BusinessHandler> businessHandler, Class<? extends goldengate.ftp.core.data.handler.DataBusinessHandler> dataBusinessHandler, goldengate.common.file.FileParameterInterface fileParameter)
classtype
- businessHandler
- class that will be used for BusinessHandlerdataBusinessHandler
- class that will be used for DataBusinessHandlerfileParameter
- the FileParameter to useMethod Detail |
---|
public boolean setConfigurationServerFromXml(String filename)
filename
-
public void configureHttps()
public void configureConstraint()
public void configureLExec()
public void configureSnmp() throws goldengate.ftp.core.exception.FtpNoConnectionException
goldengate.ftp.core.exception.FtpNoConnectionException
public void setSERVERKEY(byte[] serverkey)
serverkey
- the SERVERADMINKEY to setpublic boolean checkPassword(String password)
checkPassword
in class goldengate.ftp.core.config.FtpConfiguration
password
-
public boolean initializeAuthent(String filename, boolean purge)
filename
- the filename from which authentication will be loadedpurge
- if True, the current authentications are totally replaced by the new ones
public boolean saveAuthenticationFile(String filename)
filename
- the filename where the authentication will be exported
public SimpleAuth getSimpleAuth(String user)
user
-
public String getHtmlAuth(String format)
format
- Format in HTML to use as ouput format
public String getHtmlTransfer(String format, int limit)
format
- Format in HTML to use as ouput formatlimit
- number of TransferLog to populate
public int getNextRangePort()
getNextRangePort
in class goldengate.ftp.core.config.FtpConfiguration
FtpConfiguration.getNextRangePort()
public org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor getHttpPipelineExecutor()
public org.jboss.netty.channel.group.ChannelGroup getHttpChannelGroup()
public void releaseResources()
releaseResources
in class goldengate.ftp.core.config.FtpConfiguration
public void inShutdownProcess()
inShutdownProcess
in class goldengate.ftp.core.config.FtpConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |