ora.example
Class Try

java.lang.Object
  extended by ora.example.Try

public class Try
extends java.lang.Object

Examples how to use ora


Constructor Summary
Try()
           
 
Method Summary
 java.lang.String activateRemoteMemoryFeature()
          This method activates remote memory feature providing ability to monitor memory load remotely.
static void main(java.lang.String[] args)
          Sample main method processing certain relevant methods
 java.lang.String registerFileForRemoteAccess(java.io.File file)
          This method registers given file for remote access through clients
 java.lang.String registerObjectForRemoteAccess(java.lang.Object obj)
          This method analyses given object and registers it for remote access through clients
 java.lang.String registerObjectForRemoteAccess(java.lang.String name, java.lang.Object obj)
          This method analyses given object and registers it for remote access through clients
 void showMyObject(java.lang.Object obj)
          This method analyses object and shows it in visualizer
 void showSavedSnapshot(java.io.File file)
           
 void startGui()
          This method starts the empty visualizing component
 java.io.File takeSnapshotOfMyObjectInFile(java.lang.Object obj, java.lang.String filename)
          This method analyses given object and save analyser results into given file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Try

public Try()
Method Detail

takeSnapshotOfMyObjectInFile

public java.io.File takeSnapshotOfMyObjectInFile(java.lang.Object obj,
                                                 java.lang.String filename)
                                          throws java.lang.Exception
This method analyses given object and save analyser results into given file

Parameters:
obj -
filename -
Returns:
resulting file
Throws:
java.lang.Exception

showSavedSnapshot

public void showSavedSnapshot(java.io.File file)
                       throws java.lang.Exception
Parameters:
file -
Throws:
java.lang.Exception

registerFileForRemoteAccess

public java.lang.String registerFileForRemoteAccess(java.io.File file)
                                             throws java.lang.Exception
This method registers given file for remote access through clients

Parameters:
file -
Returns:
key of the instance to be used for determination of the session.
Throws:
java.lang.Exception

showMyObject

public void showMyObject(java.lang.Object obj)
                  throws java.lang.Exception
This method analyses object and shows it in visualizer

Parameters:
obj -
Throws:
java.lang.Exception

registerObjectForRemoteAccess

public java.lang.String registerObjectForRemoteAccess(java.lang.Object obj)
                                               throws java.lang.Exception
This method analyses given object and registers it for remote access through clients

Parameters:
obj -
Returns:
key of the instance to be used for determination of the session.
Throws:
java.lang.Exception

registerObjectForRemoteAccess

public java.lang.String registerObjectForRemoteAccess(java.lang.String name,
                                                      java.lang.Object obj)
                                               throws java.lang.Exception
This method analyses given object and registers it for remote access through clients

Parameters:
obj -
Returns:
key of the instance to be used for determination of the session.
Throws:
java.lang.Exception

activateRemoteMemoryFeature

public java.lang.String activateRemoteMemoryFeature()
                                             throws java.lang.Exception
This method activates remote memory feature providing ability to monitor memory load remotely.

Returns:
key of the instance to be used for determination of the session.
Throws:
java.lang.Exception

startGui

public void startGui()
              throws java.lang.Exception
This method starts the empty visualizing component

Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Sample main method processing certain relevant methods

Parameters:
args -
Throws:
java.lang.Exception