|
SmartFrog 3.10.000 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.smartfrog.sfcore.reference.RemoteReferenceResolverHelperImpl
org.smartfrog.sfcore.prim.PrimImpl
org.smartfrog.services.display.SFDisplay
org.smartfrog.services.management.SFDeployDisplay
public class SFDeployDisplay
Management Console component. It can be deployed as a normat SmartFrog component or it can be started as a separate console.
Field Summary | |
---|---|
protected javax.swing.JButton |
refresh
|
Fields inherited from class org.smartfrog.services.display.SFDisplay |
---|
display, sfProcessName |
Fields inherited from class org.smartfrog.sfcore.prim.PrimImpl |
---|
refLivenessDelay, refLivenessFactor, sfCompleteName, sfContext, sfDeployHooks, sfDeployWithHooks, sfExportRef, sfIsDeployed, sfIsStarted, sfIsTerminated, sfIsTerminating, sfLivenessCount, sfLivenessDelay, sfLivenessFactor, sfLivenessSender, sfParent, sfStartHooks, sfTerminateWithHooks, termLock |
Constructor Summary | |
---|---|
SFDeployDisplay()
Constructs SFDeployDisplay object |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Interface Method. |
static void |
addProcessesPanels(Display display,
boolean addRootProcessPanel,
boolean showCDasChild,
java.lang.String hostname,
int port)
Adds a feature to the ProcessesPanels attribute of the SFDeployDisplay class |
static void |
exitWith(java.lang.String str,
int exitCode)
Prints given error string and exits system |
static void |
main(java.lang.String[] args)
The main program for the SFDeployDisplay class |
void |
printMsg(java.lang.String msg)
Method of interface PrintMsgInt |
void |
refresh()
Refreshes the display panel. |
void |
run()
Main processing method for the SFDeployDisplay object |
void |
sfDeploy()
Deploys display component. |
void |
sfStart()
Starts the display component. |
void |
sfTerminateWith(TerminationRecord t)
Terminates the SFDeployDisplay component |
static Display |
startConsole(java.lang.String nameDisplay,
int height,
int width,
java.lang.String positionDisplay,
boolean showRootProcess,
boolean showCDasChild,
java.lang.String hostname,
int port,
boolean shouldSystemExit)
Starts the console |
Methods inherited from class org.smartfrog.services.display.SFDisplay |
---|
getErrorStream, getInputStream, getOutputStream, printErrMsg |
Methods inherited from class org.smartfrog.sfcore.reference.RemoteReferenceResolverHelperImpl |
---|
sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolveWithParser |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.smartfrog.sfcore.prim.Prim |
---|
sfAddAttribute, sfAttributeKeyFor, sfAttributes, sfCompleteName, sfContainsAttribute, sfContainsValue, sfContext, sfDeployedHost, sfDeployedProcessName, sfDeployWith, sfDetach, sfDetachAndTerminate, sfDumpState, sfIsDeployed, sfIsStarted, sfIsTerminated, sfIsTerminating, sfParent, sfParentageChanged, sfRemoveAttribute, sfReplaceAttribute, sfTerminate, sfTerminatedWith, sfTerminateQuietlyWith, sfValues |
Methods inherited from interface org.smartfrog.sfcore.prim.Liveness |
---|
sfPing |
Methods inherited from interface org.smartfrog.sfcore.reference.RemoteReferenceResolver |
---|
sfResolve, sfResolve, sfResolveHere, sfResolveHere, sfResolveParent |
Methods inherited from interface org.smartfrog.sfcore.reference.RemoteReferenceResolverHelper |
---|
sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolveWithParser |
Methods inherited from interface org.smartfrog.sfcore.prim.Diagnostics |
---|
sfDiagnosticsReport |
Field Detail |
---|
protected javax.swing.JButton refresh
Constructor Detail |
---|
public SFDeployDisplay() throws java.rmi.RemoteException
java.rmi.RemoteException
- If network or RMI errorMethod Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments
java.lang.Exception
- If any errorpublic static Display startConsole(java.lang.String nameDisplay, int height, int width, java.lang.String positionDisplay, boolean showRootProcess, boolean showCDasChild, java.lang.String hostname, int port, boolean shouldSystemExit) throws java.lang.Exception
nameDisplay
- name of the displayheight
- height of the windowwidth
- width of the windowpositionDisplay
- position of displayshowRootProcess
- boolean to enable display of root processshowCDasChild
- boolean to enable display of CDs as childrenhostname
- host nameport
- portshouldSystemExit
- boolean to indicate exit at close of window
java.lang.Exception
- In case of any errorpublic static void exitWith(java.lang.String str, int exitCode)
str
- string to print on outexitCode
- exit codepublic static void addProcessesPanels(Display display, boolean addRootProcessPanel, boolean showCDasChild, java.lang.String hostname, int port) throws java.lang.Exception
display
- The feature to be added to the ProcessesPanels
attributeaddRootProcessPanel
- The feature to be added to the ProcessesPanels
attributeshowCDasChild
- boolean to enable display of CDs as childrenhostname
- The feature to be added to the ProcessesPanels
attributeport
- The feature to be added to the ProcessesPanels
attribute
java.lang.Exception
- If any errorpublic void sfDeploy() throws SmartFrogException, java.rmi.RemoteException
sfDeploy
in interface Prim
sfDeploy
in class SFDisplay
SmartFrogException
- If unable to deploy the component
java.rmi.RemoteException
- If RMI or network errorpublic void sfStart() throws SmartFrogException, java.rmi.RemoteException
sfStart
in interface Prim
sfStart
in class SFDisplay
SmartFrogException
- If unable to start the component
java.rmi.RemoteException
- If RMI or network errorpublic void sfTerminateWith(TerminationRecord t)
sfTerminateWith
in class SFDisplay
t
- The reason why it was terminatedpublic void run()
public void printMsg(java.lang.String msg)
printMsg
in interface PrintMsgInt
printMsg
in class SFDisplay
msg
- message to printpublic void refresh()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- action event
|
SmartFrog CORE 3.10.000 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |