|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.util.SystemInfoReporter
public class SystemInfoReporter
This class is responsible for collecting a snapshot of the system including the configuration, license information, JVM, application server, database info, and content summary/growth statistics.
Once the collector has the information it sends it to a Jive Software service which can store the data for future support of the specific customer.
Field Summary | |
---|---|
static java.lang.String |
APP_SERVER_PREFIX
|
static java.lang.String |
DATABASE_PREFIX
|
static java.lang.String |
JAVA_PREFIX
|
static java.lang.String |
JIVE_CONFIG_PREFIX
|
static java.lang.String |
JIVE_INFO_PREFIX
|
static java.lang.String |
JIVE_LICENSE_PREFIX
|
static java.lang.String |
NOT_AVAILABLE
|
protected java.util.Map |
sysInfo
|
static java.lang.String |
SYSTEM_PREFIX
|
Constructor Summary | |
---|---|
SystemInfoReporter()
|
Method Summary | |
---|---|
protected void |
collectAppServerInfo(javax.servlet.ServletContext application)
Collects the application server data. |
protected void |
collectDatabaseInfo()
Collects all of the database/datasource information into the system info Map. |
void |
collectInformation(ForumFactory forumFactory,
javax.servlet.ServletContext application,
javax.servlet.ServletRequest request)
Collects the set of system information into the systemInfo Map. |
protected void |
collectJavaPropertiesInfo()
Collects the Java properties information and places it in the system info Map. |
protected void |
collectJiveConfig(ForumFactory forumFactory)
Collects all of the properties from jive_startup into the system info Map. |
protected void |
collectJiveInfo(ForumFactory forumFactory)
Collect the information for general Jive info and place it in the system info Map. |
protected void |
collectLicenseInfo()
Collects the license information for this installation and places it in the system info Map. |
protected void |
collectSystemInfo(javax.servlet.ServletRequest request)
Collect system information. |
java.lang.String |
getProperty(java.lang.String name)
Gets the value associated with a name. |
java.util.List |
getPropertyNames()
Gets a list of the property names that have been collected. |
protected java.lang.String |
postData(java.lang.String xml)
Posts the data to the SERVICE_URL. |
java.lang.String |
sendSystemInfo()
Sends the collected set of system information to Jive. |
protected java.lang.String |
toXML()
Outputs the system info Map as an XML document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String JIVE_CONFIG_PREFIX
public static final java.lang.String JAVA_PREFIX
public static final java.lang.String DATABASE_PREFIX
public static final java.lang.String SYSTEM_PREFIX
public static final java.lang.String APP_SERVER_PREFIX
public static final java.lang.String JIVE_LICENSE_PREFIX
public static final java.lang.String JIVE_INFO_PREFIX
public static final java.lang.String NOT_AVAILABLE
protected java.util.Map sysInfo
Constructor Detail |
---|
public SystemInfoReporter()
Method Detail |
---|
public void collectInformation(ForumFactory forumFactory, javax.servlet.ServletContext application, javax.servlet.ServletRequest request)
forumFactory
- a ForumFactory instance.application
- the application context object.request
- the servlet request.public java.lang.String sendSystemInfo()
public java.util.List getPropertyNames()
public java.lang.String getProperty(java.lang.String name)
protected void collectJavaPropertiesInfo()
protected void collectLicenseInfo()
protected void collectAppServerInfo(javax.servlet.ServletContext application)
protected void collectJiveConfig(ForumFactory forumFactory)
forumFactory
- a ForumFactory instance.protected void collectDatabaseInfo()
protected void collectJiveInfo(ForumFactory forumFactory)
forumFactory
- a ForumFactory instance.protected void collectSystemInfo(javax.servlet.ServletRequest request)
protected java.lang.String postData(java.lang.String xml)
xml
- the xml to post.
protected java.lang.String toXML()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |