|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.fc.Function
com.ibm.di.fc.itregistry.InitITRegistryFC
public class InitITRegistryFC
This Component initializes a connection to the IT registry and registers a
Management Software System(MSS) in the IT registry database. It also returns
the GUID with which MSS has got registered wrapped as a
ConfigurationItemId
, thus preventing the user to see its content, but
allowing its usage by the other IT registry Components.
Field Summary |
---|
Fields inherited from class com.ibm.di.fc.Function |
---|
logger |
Constructor Summary | |
---|---|
InitITRegistryFC()
|
Method Summary | |
---|---|
String |
checkDbConnection()
Checks if with the currently configured properties, a connection to the IT registry database can be established. |
String |
getCdmVersion()
Returns the version of the CDM that this component is using. |
String |
getDbUsername()
This method returns the username for connecting to the UT registry database used by the Connector. |
String |
getJdbcDriver()
This method returns the JDBC Driver used by the Connector. |
String |
getJdbcUrl()
This method returns the JDBC Url used by the Connector. |
String |
getVersion()
Version information. |
void |
initialize(Object obj)
Called once to initialize the Function Component. |
Object |
perform(Object obj)
The FC receives the information about MSS data either from the configuration panel or from its Output Map and registers the MSS in the IT registry. |
Object |
querySchema(Object input)
This method displays the attributes belonging to the MSS class. |
void |
terminate()
This method frees any resources allocated by the Component. |
Methods inherited from class com.ibm.di.fc.Function |
---|
debug, getConfiguration, getContext, getDebug, getLog, getParam, getRSInterface, getUI, initialize, logmsg, setConfiguration, setContext, setDebug, setLog, setParam, setRSInterface, updateSchema, verifyInitialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InitITRegistryFC()
Method Detail |
---|
public void initialize(Object obj) throws Exception
initialize
in interface FunctionInterface
initialize
in class Function
obj
- ignored.
Exception
- if an error occurs.public Object perform(Object obj) throws Exception
obj
- the work entry passed to the FC.
Exception
- if a problem occurs.public String getJdbcUrl()
public String getJdbcDriver()
public String getDbUsername()
public Object querySchema(Object input) throws Exception
querySchema
in interface FunctionInterface
querySchema
in class Function
input
- entry object
if
- a problem occurs.
Exception
Entry
,
Vector
public String getVersion()
public void terminate() throws Exception
terminate
in interface FunctionInterface
terminate
in class Function
Exception
- an exception is thrown if this method failspublic String checkDbConnection()
IOException
- if a problem occurs.public String getCdmVersion() throws Exception
Exception
- if a problem occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |