|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.admin.domain.model.JndiConfiguration
public final class JndiConfiguration
Stores JNDI configuration properties.
Constructor Summary | |
---|---|
JndiConfiguration() Default constructor. |
Method Summary | |
---|---|
String |
getArchiveType() Returns the archive type of the application the configuration is associated with. |
String |
getArtifactId() Returns the artifact identifier of the application the configuration is associated with. |
String |
getCacheName() Returns the name of the cache within the JNDI to be looked up. |
String |
getClassifier() Returns the classifier of the application the configuration is associated with. |
Boolean |
getDsCreateTable() Returns the flag to the datasource to create the properties table. |
Boolean |
getDsDropTable() Returns the flag to the datasource to drop the properties table. |
String |
getDsName() Returns the name of the datasource within the JNDI to be looked up. |
String |
getGroupId() Returns the group identifier of the application the configuration is associated with. |
static JndiConfiguration |
getJndiConfiguration() Provides access to the JNDI configuration. |
String |
getSecurityAlgorithm() Returns the security algorithm. |
String |
getSecurityKey() Returns the security key. |
String |
getSecurityProvider() Returns the security provider. |
String |
getSecurityTransformation() Returns the security transformation. |
String |
getVersion() Returns the version of the application the configuration is associated with. |
void |
initialize() Initializes the configuration by copying the property values from the JNDI. |
boolean |
isInitialized() Checks if the configuration has already been initialized. |
void |
setArchiveType(String archiveType) Sets the archive type of the application the configuration is associated with. |
void |
setArtifactId(String artifactId) Sets the artifact identifier of the application the configuration is associated with. |
void |
setCacheName(String cacheName) Sets the name of the cache within the JNDI to be looked up. |
void |
setClassifier(String classifier) Sets the classifier of the application the configuration is associated with. |
void |
setDsCreateTable(Boolean dsCreateTable) Sets the flag to the datasource to create the properties table. |
void |
setDsCreateTable(String dsCreateTable) Sets the flag to the datasource to create the properties table. |
void |
setDsDropTable(Boolean dsDropTable) Sets the flag to the datasource to drop the properties table. |
void |
setDsDropTable(String dsDropTable) Sets the flag to the datasource to drop the properties table. |
void |
setDsName(String dsName) Sets the name of the datasource within the JNDI to be looked up. |
void |
setGroupId(String groupId) Sets the group identifier of the application the configuration is associated with. |
void |
setSecurityAlgorithm(String securityAlgorithm) Sets the security algorithm. |
void |
setSecurityKey(String securityKey) Sets the security key. |
void |
setSecurityProvider(String securityProvider) Sets the security provider. |
void |
setSecurityTransformation(String securityTransformation) Sets the security transformation. |
void |
setVersion(String version) Sets the version of the application the configuration is associated with. |
void |
update() Updates the JNDI context with the values in this configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JndiConfiguration()
Method Detail |
---|
public void initialize() throws IllegalStateException
IllegalStateException
- on any problem accessing the JNDI context.
public boolean isInitialized()
true
if already initialized,
false
otherwise.
public String getGroupId()
public void setGroupId(String groupId)
groupId
- the group identifier of the application the configuration is associated with.
public String getArtifactId()
public void setArtifactId(String artifactId)
artifactId
- the artifact identifier of the application the configuration is associated with.
public String getVersion()
public void setVersion(String version)
version
- the version of the application the configuration is associated with.
public String getArchiveType()
public void setArchiveType(String archiveType)
archiveType
- the archive type of the application the configuration is associated with.
public String getClassifier()
public void setClassifier(String classifier)
classifier
- the classifier of the application the configuration is associated with.
public String getCacheName()
public void setCacheName(String cacheName)
cacheName
- the name of the cache within the JNDI to be looked up.
public String getDsName()
public void setDsName(String dsName)
dsName
- the name of the datasource within the JNDI to be looked up.
public Boolean getDsCreateTable()
public void setDsCreateTable(Boolean dsCreateTable)
dsCreateTable
- the flag to the datasource to create the properties table.
public void setDsCreateTable(String dsCreateTable)
dsCreateTable
- the flag to the datasource to create the properties table.
public Boolean getDsDropTable()
public void setDsDropTable(Boolean dsDropTable)
dsDropTable
- the flag to the datasource to drop the properties table.
public void setDsDropTable(String dsDropTable)
dsDropTable
- the flag to the datasource to drop the properties table.
public String getSecurityKey()
public void setSecurityKey(String securityKey)
securityKey
- the security key.
public String getSecurityAlgorithm()
public void setSecurityAlgorithm(String securityAlgorithm)
securityAlgorithm
- the security algorithm.
public String getSecurityProvider()
public void setSecurityProvider(String securityProvider)
securityProvider
- the security provider.
public String getSecurityTransformation()
public void setSecurityTransformation(String securityTransformation)
securityTransformation
- the security transformation.
public void update() throws NamingException
NamingException
- on any problem setting any value.
public static JndiConfiguration getJndiConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |