|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.uddi.promoter.config.Configuration
public class Configuration
Represents the configuration for UDDI Utility Tools.
Contains instance of configuration objects for each function.
Field Summary |
---|
Fields inherited from interface com.ibm.uddi.promoter.CommandLineConstants |
---|
ARG_BINDING, ARG_BUSINESS, ARG_DEFINITION_FILE, ARG_DELETE, ARG_EXPORT, ARG_IMPORT, ARG_IMPORT_REFERENCED_ENTITIES, ARG_INPUT_KEYFILE, ARG_INPUT_KEYFILE_OLD, ARG_OVERWRITE, ARG_OVERWRITE_OLD, ARG_PROMOTE, ARG_PROPERTIES_FILE, ARG_SERVICE, ARG_TMODEL, ARG_VERBOSE, ARG_VERBOSE_OLD, USAGE |
Constructor Summary | |
---|---|
Configuration(java.util.Properties properties)
Constructor taking a Properties . |
|
Configuration(java.lang.String propertiesFileName)
Constructor taking a properties file path. |
Method Summary | |
---|---|
DatabaseConfiguration |
getDatabaseConfiguration()
Returns an object containing all the database specific configuration data. |
java.lang.String |
getDbDriver()
Returns database driver class name. |
java.lang.String |
getDbPasswd()
Returns database password. |
java.lang.String |
getDbUrl()
Returns database URL. |
java.lang.String |
getDbUser()
Returns database userid. |
ExportConfiguration |
getExportConfiguration()
Returns an object containing all the export specific configuration data. |
java.lang.String |
getFromGetURL()
Returns URL to source UDDI registry get service. |
java.lang.String |
getFromInquiryURL()
Returns URL to source UDDI registry inquiry service. |
ImportConfiguration |
getImportConfiguration()
Returns an object containing all the import specific configuration data. |
java.lang.String |
getJSSEProvider()
Returns the JSSE Provider class name. |
LoggerConfiguration |
getLoggerConfiguration()
Returns configuration object for the PromoterLogger . |
java.lang.String |
getMessageLogFileName()
Returns the message log file name. |
java.io.PrintStream |
getMessageStream()
Returns the messages stream. |
java.lang.String |
getNamespacePrefix()
Returns the namespace prefix used in the generation of the entity definition file. |
java.lang.String |
getPassword()
Returns target registry access password. |
PublishConfiguration |
getPublishConfiguration()
Returns an object containing all the publish specific configuration data. |
java.lang.String |
getToInquiryURL()
Returns URL to target UDDI registry inquiry service. |
java.lang.String |
getToPublishURL()
Returns URL to target UDDI registry publish service. |
int |
getTraceLevel()
Returns the trace detail level. |
java.lang.String |
getTraceLogFileName()
Returns the trace log file name. |
TransformConfiguration |
getTransformConfiguration()
Returns the configuration for serialization and deserialization functions. |
java.lang.String |
getTrustStoreFilename()
Returns the trust store file name. |
java.lang.String |
getTrustStorePassword()
Returns the trust store password. |
java.lang.String |
getUddiEntityDefinitionFile()
Returns the entity definition file path and name. |
java.lang.String |
getUserID()
Returns target registry access userid. |
boolean |
isImportReferencedEntities()
Returns the indicator for importing referenced entities. |
boolean |
isOverwrite()
Returns the overwrite property. |
boolean |
isSecureConnection()
Returns the secure connection indicator. |
boolean |
isVerbose()
Returns the verbose setting for message detail. |
void |
setDbDriver(java.lang.String driverClassName)
Sets database driver class name. |
void |
setDbPasswd(java.lang.String password)
Sets database password. |
void |
setDbUrl(java.lang.String dbUrl)
Sets database URL. |
void |
setDbUser(java.lang.String dbUser)
Sets database userid. |
void |
setFromGetURL(java.lang.String fromGetURL)
Sets URL to source UDDI registry get service. |
void |
setFromInquiryURL(java.lang.String fromInquiryURL)
Sets URL to source UDDI registry inquiry service. |
void |
setImportReferencedEntities(boolean importReferencedEntities)
Sets the indicator for importing referenced entities. |
void |
setJSSEProvider(java.lang.String jsseProvider)
Sets the JSSE Provider class name. |
void |
setMessageLogFileName(java.lang.String messageLogFileName)
Sets the messages log file name. |
void |
setMessageStream(java.io.PrintStream messageStream)
Sets the messages stream. |
void |
setNamespacePrefix(java.lang.String namespacePrefix)
Sets the namespace prefix used in the generation of the entity definition file. |
void |
setOverwrite(boolean overwrite)
Set the overwrite property. |
void |
setPassword(java.lang.String password)
Sets target registry access password. |
void |
setSecureConnection(boolean secureConnection)
Sets the secure connection indicator. |
void |
setToInquiryURL(java.lang.String toInquiryURL)
Sets URL to target UDDI registry inquiry service. |
void |
setToPublishURL(java.lang.String toPublishURL)
Sets URL to target UDDI registry publish service. |
void |
setTraceLevel(int traceLevel)
Sets the trace detail level. |
void |
setTraceLogFileName(java.lang.String traceLogFileName)
Sets the trace log file name. |
void |
setTrustStoreFilename(java.lang.String trustStoreFilename)
Sets the trust store file name. |
void |
setTrustStorePassword(java.lang.String trustStorePassword)
Sets the trust store password. |
void |
setUddiEntityDefinitionFile(java.lang.String uddiEntityDefinitionFile)
Sets the entity definition file path and name. |
void |
setUserID(java.lang.String userID)
Sets target registry access userid. |
void |
setVerbose(boolean verbose)
Sets the verbose setting for message detail. |
java.lang.String |
toString()
Returns the result of invoking toString method on all
the contained configuration objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Configuration(java.lang.String propertiesFileName) throws PromoterException
The contents of the properties file is used to populate all its fields.
propertiesFileName
-
PromoterException
public Configuration(java.util.Properties properties) throws java.lang.Exception, java.io.IOException
Properties
.
The contents of the Properties
is used to populate
all its fields.
properties
-
java.lang.Exception
java.io.IOException
Method Detail |
---|
public DatabaseConfiguration getDatabaseConfiguration()
public PublishConfiguration getPublishConfiguration()
public ImportConfiguration getImportConfiguration()
Always returns non-null object.
public ExportConfiguration getExportConfiguration()
public void setDbUrl(java.lang.String dbUrl)
dbUrl
- public void setDbPasswd(java.lang.String password)
password
- public void setDbDriver(java.lang.String driverClassName)
driverClassName
- public void setDbUser(java.lang.String dbUser)
dbUser
- public java.lang.String getDbUrl()
public java.lang.String getDbPasswd()
public java.lang.String getDbDriver()
public java.lang.String getDbUser()
public void setFromGetURL(java.lang.String fromGetURL)
fromGetURL
- public void setFromInquiryURL(java.lang.String fromInquiryURL)
fromInquiryURL
- public java.lang.String getFromInquiryURL()
public java.lang.String getFromGetURL()
public void setToInquiryURL(java.lang.String toInquiryURL)
toInquiryURL
- public void setToPublishURL(java.lang.String toPublishURL)
toPublishURL
- public void setUserID(java.lang.String userID)
userID
- public void setPassword(java.lang.String password)
password
- public java.lang.String getToInquiryURL()
public java.lang.String getToPublishURL()
public java.lang.String getUserID()
public java.lang.String getPassword()
public boolean isSecureConnection()
true
if a security provider is active.public java.lang.String getTrustStoreFilename()
public java.lang.String getTrustStorePassword()
public java.lang.String getJSSEProvider()
public void setSecureConnection(boolean secureConnection)
secureConnection
- true
if a security provider is active.public void setTrustStoreFilename(java.lang.String trustStoreFilename)
trustStoreFilename
- public void setTrustStorePassword(java.lang.String trustStorePassword)
trustStorePassword
- public void setJSSEProvider(java.lang.String jsseProvider)
jsseProvider
- public void setImportReferencedEntities(boolean importReferencedEntities)
importReferencedEntities
- true
if referenced entities are to be imported first,
false
if not to be imported at all.public boolean isImportReferencedEntities()
true
if referenced entities are to be imported first,
false
if not to be imported at all.public void setOverwrite(boolean overwrite)
overwrite
- true
if existing entities are to be overwritten during import function.public boolean isOverwrite()
true
if existing entities are to be overwritten during import function.public java.lang.String getUddiEntityDefinitionFile()
public void setUddiEntityDefinitionFile(java.lang.String uddiEntityDefinitionFile)
uddiEntityDefinitionFile
- public java.lang.String getNamespacePrefix()
public void setNamespacePrefix(java.lang.String namespacePrefix)
namespacePrefix
- public TransformConfiguration getTransformConfiguration()
public LoggerConfiguration getLoggerConfiguration()
PromoterLogger
.
public java.io.PrintStream getMessageStream()
public void setMessageStream(java.io.PrintStream messageStream)
messageStream
- public java.lang.String getMessageLogFileName()
public java.lang.String getTraceLogFileName()
public void setMessageLogFileName(java.lang.String messageLogFileName)
messageLogFileName
- public void setTraceLogFileName(java.lang.String traceLogFileName)
traceLogFileName
- public int getTraceLevel()
public void setTraceLevel(int traceLevel)
traceLevel
- 1 is lowest detail, 3 is highest.public boolean isVerbose()
true
if detailed message output is activated.public void setVerbose(boolean verbose)
This affects the messages stream detail level.
verbose
- public java.lang.String toString()
toString
method on all
the contained configuration objects.
toString
in class java.lang.Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |