public abstract class EacElement extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
appName
Name of the application
|
protected String |
dataPrefix
Data prefix to use for all elements.
|
protected String |
eacHost
Hostname of the EAC central server
|
protected int |
eacPort
Port on which the EAC central server is listening
|
protected String |
elementId
ID of the EAC object.
|
protected LockManager |
lockManager
Lock manager used by this object.
|
protected String |
logDir
Log directory, inherited by all EAC objects.
|
protected boolean |
sslEnabled
Indicates whether SSL should be used for EAC communication.
|
protected String |
workingDir
Working directory, inherited by all EAC objects.
|
Constructor and Description |
---|
EacElement() |
Modifier and Type | Method and Description |
---|---|
String |
getAppName()
Get the application name.
|
String |
getDataPrefix() |
String |
getEacHost()
Gets the hostname of the EAC central server.
|
int |
getEacPort()
Gets the port of the EAC central server.
|
String |
getElementId() |
LockManager |
getLockManager() |
String |
getLogDir()
Gets the logs directory.
|
String |
getWorkingDir()
Gets the working directory.
|
boolean |
isSslEnabled() |
void |
setAppName(String appName)
Sets the application name.
|
void |
setDataPrefix(String dataPrefix) |
void |
setEacHost(String eacHost)
Sets the hostname of the EAC central server.
|
void |
setEacPort(int eacPort)
Sets the port of the EAC central server, verifying that the port is valid.
|
void |
setElementId(String elementId) |
void |
setLockManager(LockManager lockManager) |
void |
setLogDir(String logDir)
Sets the logs directory.
|
void |
setSslEnabled(boolean sslEnabled) |
void |
setWorkingDir(String workingDir)
Sets the working directory.
|
protected String appName
protected String eacHost
protected int eacPort
protected String workingDir
protected String logDir
protected String elementId
protected LockManager lockManager
protected boolean sslEnabled
protected String dataPrefix
public String getAppName()
public void setAppName(String appName)
appName
- The application name.public String getEacHost()
public void setEacHost(String eacHost)
eacHost
- The EAC host.public int getEacPort()
public void setEacPort(int eacPort) throws AppConfigurationException
eacPort
- The EAC port.AppConfigurationException
- If an invalid EAC port is specified.public String getLogDir()
public void setLogDir(String logDir)
logDir
- Logs directory to set.public String getWorkingDir()
public void setWorkingDir(String workingDir)
workingDir
- Working directory to set.public String getElementId()
public void setElementId(String elementId)
public LockManager getLockManager()
public void setLockManager(LockManager lockManager)
public String getDataPrefix()
public void setDataPrefix(String dataPrefix)
public boolean isSslEnabled()
public void setSslEnabled(boolean sslEnabled)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.