Package com.sun.enterprise.deployment
Class DataSourceDefinitionDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.ResourceDescriptor
-
- com.sun.enterprise.deployment.DataSourceDefinitionDescriptor
-
- All Implemented Interfaces:
Serializable
public class DataSourceDefinitionDescriptor extends ResourceDescriptor
- Author:
- Jagadish Ramu
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description DataSourceDefinitionDescriptor()
-
Method Summary
-
Methods inherited from class com.sun.enterprise.deployment.ResourceDescriptor
getMetadataSource, getResourceId, getResourceType, setMetadataSource, setResourceId, setResourceType
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
setDeployed
public void setDeployed(boolean deployed)
-
isDeployed
public boolean isDeployed()
-
getName
public String getName()
Description copied from class:Descriptor
The name of this descriptor as a String.- Overrides:
getName
in classDescriptor
- Returns:
- the name of this descriptor
-
setName
public void setName(String name)
Description copied from class:Descriptor
Sets the name of this descriptor.- Overrides:
setName
in classDescriptor
- Parameters:
name
- the new name of the descriptor.
-
setUrl
public void setUrl(String Url)
-
getUrl
public String getUrl()
-
getDescription
public String getDescription()
Description copied from class:Descriptor
The description text of this descriptor as a String.- Overrides:
getDescription
in classDescriptor
- Returns:
- the description text of this descriptor
-
setTransactionSet
public void setTransactionSet(boolean value)
-
isTransactionSet
public boolean isTransactionSet()
-
setDescription
public void setDescription(String description)
Description copied from class:Descriptor
Sets the description text of this descriptor.- Overrides:
setDescription
in classDescriptor
- Parameters:
description
- the new description text of the descriptor.
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
getPortNumber
public int getPortNumber()
-
setPortNumber
public void setPortNumber(int portNumber)
-
getDatabaseName
public String getDatabaseName()
-
setDatabaseName
public void setDatabaseName(String databaseName)
-
getServerName
public String getServerName()
-
setServerName
public void setServerName(String serverName)
-
getUser
public String getUser()
-
setUser
public void setUser(String user)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getLoginTimeout
public long getLoginTimeout()
-
setLoginTimeout
public void setLoginTimeout(String loginTimeout)
-
isLoginTimeoutSet
public boolean isLoginTimeoutSet()
-
isServerNameSet
public boolean isServerNameSet()
-
isTransactional
public boolean isTransactional()
-
setTransactional
public void setTransactional(boolean transactional)
-
getIsolationLevelString
public String getIsolationLevelString()
-
getIsolationLevel
public int getIsolationLevel()
-
setIsolationLevel
public void setIsolationLevel(String isolationLevelString)
-
isIntegerIsolationLevelSet
public boolean isIntegerIsolationLevelSet(String isolationLevelString)
-
getInitialPoolSize
public int getInitialPoolSize()
-
setInitialPoolSize
public void setInitialPoolSize(int initialPoolSize)
-
getMaxPoolSize
public int getMaxPoolSize()
-
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize)
-
getMinPoolSize
public int getMinPoolSize()
-
setMinPoolSize
public void setMinPoolSize(int minPoolSize)
-
getMaxIdleTime
public long getMaxIdleTime()
-
setMaxIdleTime
public void setMaxIdleTime(String maxIdleTime)
-
getMaxStatements
public int getMaxStatements()
-
setMaxStatements
public void setMaxStatements(int maxStatements)
-
getProperties
public Properties getProperties()
-
addDataSourcePropertyDescriptor
public void addDataSourcePropertyDescriptor(ResourcePropertyDescriptor propertyDescriptor)
-
isConflict
public boolean isConflict(DataSourceDefinitionDescriptor other)
-
-