Package com.uc4.api.objects
Class AttributesJMX
- java.lang.Object
- 
- com.uc4.api.objects.AttributesJMX
 
- 
- All Implemented Interfaces:
- IHostAttributes
 
 public class AttributesJMX extends java.lang.Object implements IHostAttributes Host attributes for JMX Jobs.
- 
- 
Constructor SummaryConstructors Constructor Description AttributesJMX()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intfieldCount()Returns the number of fields in the host attributes.java.lang.StringgetAgentID()Returns the agent ID.java.lang.StringgetInitialContextFactory()Returns the initial context factory.java.lang.StringgetJndiName()Returns the JNDI Name.java.lang.StringgetServerURL()Returns the JMX URL of the remote MBean Server.booleanisAgentLog()booleanisLocalJVM()Returnstrueif an MBean Server in the local JVM is used.booleanisMbeanServerCreate()Returnstrueif an MBean Server is created if it's not found.booleanisRemoteJVM()Returnstrueif an MBean Server in the remote JVM is used.booleanisReportDatabase()Returns whether the Job report transfered to the Automation Engine database.booleanisReportErrorOnly()Returnstrueif the Job report will be stored only in case of Job interruption.booleanisReportFile()Returnstrueif the Job report is stored in the file system on the target system.booleanisUseAnyMBeanServer()Returnstrueif any local MBean Server is used.booleanisUseJDNI()Returnstrueif JNDI is used to get a reference to the MBean Server.booleanisUseSpecificMBeanServer()Returnstrueif an MBean Server with the specified agent ID is used.voidload(com.uc4.util.XMLDocument doc, org.w3c.dom.Element hostAttr, ConnectionAttributes info)Loads the host attributes.java.lang.Stringname()Returns the host attributes name.voidsetAgentID(java.lang.String agentID)Sets the agent ID.voidsetAgentLog(boolean agentLog)Sets the Agent Process Log for this SAP Job.voidsetInitialContextFactory(java.lang.String initialContextFactory)Sets the initial context factory.voidsetJndiName(java.lang.String jndiName)Sets the JNDI name.voidsetLocalJVM()Uses an MBean Server in the local Java Virtual Machine.voidsetMbeanServerCreate(boolean mbeanServerCreate)Sets whether an MBean Server should be created if it does not exist.voidsetRemoteJVM()Uses an MBean Server in a remote JVM.voidsetReportDatabase(boolean reportDatabase)Sets whether the Job report should be transfered to the database.voidsetReportErrorOnly(boolean reportErrorOnly)Sets whether the Job report should be stored only in case of Job interruption.voidsetReportFile(boolean reportFile)Sets whether the Job report should be stored in the file system on the target system.voidsetServerURL(java.lang.String serverURL)Sets the JMX URL of the remote MBean Server.voidsetUseAnyMBeanServer()Uses any local MBean Server.voidsetUseJDNI()Uses JDNI to get a reference to the MBean Server.voidsetUseSpecificMBeanServer()An MBean Server with the specified agent ID is used.voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes info)Writes the host attributes back to theXMLDocument.
 
- 
- 
- 
Method Detail- 
loadpublic void load(com.uc4.util.XMLDocument doc, org.w3c.dom.Element hostAttr, ConnectionAttributes info)Description copied from interface:IHostAttributesLoads the host attributes.- Specified by:
- loadin interface- IHostAttributes
- Parameters:
- doc- XML Document containing the Job
- hostAttr- Element which contains host attributes
- info- Session details
 
 - 
storepublic void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes info)Description copied from interface:IHostAttributesWrites the host attributes back to theXMLDocument.- Specified by:
- storein interface- IHostAttributes
- Parameters:
- doc- Document
- objectElement- ObjectElement
- info- Session details
 
 - 
isAgentLogpublic boolean isAgentLog() - Returns:
- True if the Agent Process Log should be transfered
 
 - 
setAgentLogpublic void setAgentLog(boolean agentLog) Sets the Agent Process Log for this SAP Job.- Parameters:
- agentLog- true if the Log should be transfered
 
 - 
isReportDatabasepublic boolean isReportDatabase() Returns whether the Job report transfered to the Automation Engine database.- Returns:
- trueif the Job report is transfered to the database- falseotherwise
 
 - 
setReportDatabasepublic void setReportDatabase(boolean reportDatabase) Sets whether the Job report should be transfered to the database.- Parameters:
- reportDatabase-- trueif the job report should be transfered to the database- falseotherwise
 
 - 
isReportErrorOnlypublic boolean isReportErrorOnly() Returnstrueif the Job report will be stored only in case of Job interruption. This function is only available when "Database" and/or "File" have been selected.- Returns:
- trueif the job report is stored only in case of Job interruption
 
 - 
setReportErrorOnlypublic void setReportErrorOnly(boolean reportErrorOnly) Sets whether the Job report should be stored only in case of Job interruption. This function is only available when "Database" and/or "File" have been selected.- Parameters:
- reportErrorOnly-- trueif the job report should be stored only in case of Job interruption
 
 - 
isReportFilepublic boolean isReportFile() Returnstrueif the Job report is stored in the file system on the target system.- Returns:
- trueif the job report is stored in the file system.
 
 - 
setReportFilepublic void setReportFile(boolean reportFile) Sets whether the Job report should be stored in the file system on the target system.- Parameters:
- reportFile-- trueif the job report should be stored in the file system
 
 - 
setLocalJVMpublic void setLocalJVM() Uses an MBean Server in the local Java Virtual Machine.
 - 
isLocalJVMpublic boolean isLocalJVM() Returnstrueif an MBean Server in the local JVM is used.- Returns:
- Uses local JVM
 
 - 
setRemoteJVMpublic void setRemoteJVM() Uses an MBean Server in a remote JVM.
 - 
isRemoteJVMpublic boolean isRemoteJVM() Returnstrueif an MBean Server in the remote JVM is used.- Returns:
- Uses remote JVM
 
 - 
getInitialContextFactorypublic java.lang.String getInitialContextFactory() Returns the initial context factory.- Returns:
- initial context factory
 
 - 
setInitialContextFactorypublic void setInitialContextFactory(java.lang.String initialContextFactory) Sets the initial context factory.- Parameters:
- initialContextFactory- initial context factory
 
 - 
getServerURLpublic java.lang.String getServerURL() Returns the JMX URL of the remote MBean Server.- Returns:
- Server URL
 
 - 
setServerURLpublic void setServerURL(java.lang.String serverURL) Sets the JMX URL of the remote MBean Server.- Parameters:
- serverURL- JMX URL
 
 - 
getAgentIDpublic java.lang.String getAgentID() Returns the agent ID.- Returns:
- agent ID
 
 - 
setAgentIDpublic void setAgentID(java.lang.String agentID) Sets the agent ID.- Parameters:
- agentID- agent ID
 
 - 
getJndiNamepublic java.lang.String getJndiName() Returns the JNDI Name.- Returns:
- JDNI Name
 
 - 
setJndiNamepublic void setJndiName(java.lang.String jndiName) Sets the JNDI name.- Parameters:
- jndiName- JNDI name
 
 - 
isMbeanServerCreatepublic boolean isMbeanServerCreate() Returnstrueif an MBean Server is created if it's not found.- Returns:
- create MBean server
 
 - 
setMbeanServerCreatepublic void setMbeanServerCreate(boolean mbeanServerCreate) Sets whether an MBean Server should be created if it does not exist.- Parameters:
- mbeanServerCreate-- trueif the MBean Server should be created
 
 - 
setUseAnyMBeanServerpublic void setUseAnyMBeanServer() Uses any local MBean Server.
 - 
isUseAnyMBeanServerpublic boolean isUseAnyMBeanServer() Returnstrueif any local MBean Server is used.- Returns:
- use any
 
 - 
setUseSpecificMBeanServerpublic void setUseSpecificMBeanServer() An MBean Server with the specified agent ID is used.
 - 
isUseSpecificMBeanServerpublic boolean isUseSpecificMBeanServer() Returnstrueif an MBean Server with the specified agent ID is used.- Returns:
- use specific MBean Server
 
 - 
setUseJDNIpublic void setUseJDNI() Uses JDNI to get a reference to the MBean Server.
 - 
isUseJDNIpublic boolean isUseJDNI() Returnstrueif JNDI is used to get a reference to the MBean Server.- Returns:
- use JNDI to get a MBean Server
 
 - 
fieldCountpublic int fieldCount() Description copied from interface:IHostAttributesReturns the number of fields in the host attributes.- Specified by:
- fieldCountin interface- IHostAttributes
- Returns:
- number of fields
 
 - 
namepublic java.lang.String name() Description copied from interface:IHostAttributesReturns the host attributes name.- Specified by:
- namein interface- IHostAttributes
- Returns:
- name
 
 
- 
 
-