com.sun.enterprise.deployment
Class DataSourceDefinitionDescriptor
java.lang.Object
java.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.DataSourceDefinitionDescriptor
- All Implemented Interfaces:
- java.io.Serializable
public class DataSourceDefinitionDescriptor
- extends Descriptor
- Author:
- Jagadish Ramu
- See Also:
- Serialized Form
| Methods inherited from class com.sun.enterprise.deployment.Descriptor |
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, 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 java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DataSourceDefinitionDescriptor
public DataSourceDefinitionDescriptor()
getResourceId
public java.lang.String getResourceId()
setResourceId
public void setResourceId(java.lang.String resourceId)
setDeployed
public void setDeployed(boolean deployed)
isDeployed
public boolean isDeployed()
getName
public java.lang.String getName()
- Description copied from class:
Descriptor
- The name of this descriptor as a String.
- Overrides:
getName in class Descriptor
- Returns:
- the name of this descriptor
setName
public void setName(java.lang.String name)
- Description copied from class:
Descriptor
- Sets the name of this descriptor.
- Overrides:
setName in class Descriptor
- Parameters:
name - the new name of the descriptor.
setUrl
public void setUrl(java.lang.String Url)
getUrl
public java.lang.String getUrl()
getDescription
public java.lang.String getDescription()
- Description copied from class:
Descriptor
- The description text of this descriptor as a String.
- Overrides:
getDescription in class Descriptor
- Returns:
- the description text of this descriptor
setTransactionSet
public void setTransactionSet(boolean value)
isTransactionSet
public boolean isTransactionSet()
setDescription
public void setDescription(java.lang.String description)
- Description copied from class:
Descriptor
- Sets the description text of this descriptor.
- Overrides:
setDescription in class Descriptor
- Parameters:
description - the new description text of the descriptor.
getClassName
public java.lang.String getClassName()
setClassName
public void setClassName(java.lang.String className)
getPortNumber
public int getPortNumber()
setPortNumber
public void setPortNumber(int portNumber)
getDatabaseName
public java.lang.String getDatabaseName()
setDatabaseName
public void setDatabaseName(java.lang.String databaseName)
getServerName
public java.lang.String getServerName()
setServerName
public void setServerName(java.lang.String serverName)
getUser
public java.lang.String getUser()
setUser
public void setUser(java.lang.String user)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getLoginTimeout
public long getLoginTimeout()
setLoginTimeout
public void setLoginTimeout(java.lang.String loginTimeout)
isLoginTimeoutSet
public boolean isLoginTimeoutSet()
isServerNameSet
public boolean isServerNameSet()
isTransactional
public boolean isTransactional()
setTransactional
public void setTransactional(boolean transactional)
getIsolationLevelString
public java.lang.String getIsolationLevelString()
getIsolationLevel
public int getIsolationLevel()
setIsolationLevel
public void setIsolationLevel(java.lang.String isolationLevelString)
isIntegerIsolationLevelSet
public boolean isIntegerIsolationLevelSet(java.lang.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(java.lang.String maxIdleTime)
getMaxStatements
public int getMaxStatements()
setMaxStatements
public void setMaxStatements(int maxStatements)
addProperty
public void addProperty(java.lang.String key,
java.lang.String value)
getProperty
public java.lang.String getProperty(java.lang.String key)
getProperties
public java.util.Properties getProperties()
getMetadataSource
public MetadataSource getMetadataSource()
setMetadataSource
public void setMetadataSource(MetadataSource metadataSource)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getJavaName
public static java.lang.String getJavaName(java.lang.String thisName)
addDataSourcePropertyDescriptor
public void addDataSourcePropertyDescriptor(DataSourcePropertyDescriptor propertyDescriptor)
Copyright © 2012 GlassFish Community. All Rights Reserved.