Interface IConnectionInfo
public interface IConnectionInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final long
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getID()
getName()
boolean
long
Returns retry count forBaseSqlWorker
on SQLExceptionlong
Returns delay in ms between retries forBaseSqlWorker
on SQLExceptiongets the IService ID for the the service associate with this connection If one doesn't exists, it creates one.void
setConnProvider
(IConnectionProvider connProvider) void
void
setRetryCount
(long retryCount) void
setRetryDelay
(long retryDelay) Created DOM representation of this ConnectionInfo doc Document is owner of created Element
-
Field Details
-
DEFAULT_RETRY_COUNT
static final long DEFAULT_RETRY_COUNT- See Also:
-
DEFAULT_RETRY_DELAY
static final long DEFAULT_RETRY_DELAY- See Also:
-
-
Method Details
-
getPasswordGotEncrypted
boolean getPasswordGotEncrypted() -
getName
String getName() -
setName
-
getDisplayName
String getDisplayName() -
getSqlWorkerClass
Class<ISqlWorker> getSqlWorkerClass() -
getConnProviderClass
String getConnProviderClass() -
getParams
Properties getParams() -
getDefault
boolean getDefault() -
getConnProvider
IConnectionProvider getConnProvider() -
getServerType
String getServerType() -
setConnProvider
-
getID
int getID() -
getJNDIName
String getJNDIName() -
getRetryCount
long getRetryCount()Returns retry count forBaseSqlWorker
on SQLException- Since:
- 7.1.2
-
setRetryCount
void setRetryCount(long retryCount) -
getRetryDelay
long getRetryDelay()Returns delay in ms between retries forBaseSqlWorker
on SQLException- Since:
- 7.1.2
-
setRetryDelay
void setRetryDelay(long retryDelay) -
toXMLNode
Created DOM representation of this ConnectionInfo doc Document is owner of created Element- Throws:
PortalException
-
getServiceID
gets the IService ID for the the service associate with this connection If one doesn't exists, it creates one.- Throws:
MetaException
-