Class sunw.joe.JoeApplet
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunw.joe.JoeApplet

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----sunw.joe.JoeApplet

public class JoeApplet
extends Applet

Constructor Index

 o JoeApplet()

Method Index

 o destroy()
Cleans up resources.
 o exceptionToString(CORBAException)
Translate a CORBA exception to a human-comprehensible string.
 o getJoe()
Get a pointer to the Joe class instance used to implement this instance of JoeApplet.
 o getOrb()
Return the ORB instance being used by the current Joe applet
 o init()
Initializes the applet.
 o resolve(String)
Return a reference to the object specified by the given path in the current naming context.
 o resolve(String, String)
Return a reference to the object specified by the given path in the current naming context.
 o setContext(String)
Set the current NamingContext to use for name resolution.
 o setContext(String, String)
Set the current NamingContext to use for name resolution.
 o setDebug(boolean)
 o start()
Called to start the applet.
 o stop()
Called to stop the applet.

Constructors

 o JoeApplet
  public JoeApplet()

Methods

 o setDebug
  public static void setDebug(boolean enable)
Parameters:
enable - Toggle for debug state.
 o getJoe
  public Joe getJoe()
Get a pointer to the Joe class instance used to implement this instance of JoeApplet.
Returns:
sunw.joe.Joe The instantiated and initialized Joe class
 o getOrb
  public OrbRef getOrb()
Return the ORB instance being used by the current Joe applet
 o init
  public void init()
Initializes the applet. Init is inherited from java.applet.Applet, and is called automatically by the system once the applet is created. If your applet overrides the init method you need to make a call to super.init() before inserting your applet code.
Overrides:
init in class Applet
 o start
  public void start()
Called to start the applet. Start is inherited from java.applet.Applet, and is called when the applet's document is visited. If you override this method, you need to make a call to super.start() before inserting your method code.
Overrides:
start in class Applet
 o stop
  public void stop()
Called to stop the applet. Stop is inherited from java.applet.Applet, and is called when the applet's document is no longer on the screen. It is guaranteed to be called before destroy() is called. If you override this method, you must insert a call to super.stop() at the end of your method code.
Overrides:
stop in class Applet
 o destroy
  public void destroy()
Cleans up resources. If applet is active, it is first stopped. Destroy is inherited from java.applet.Applet, and is called when an applet is no long accessible without being reloaded from scratch. If you override this method, you must insert a call to super.destroy() at the end of your method code.
Overrides:
destroy in class Applet
 o resolve
  public ObjectRef resolve(String serverPath) throws SystemException, UserException
Return a reference to the object specified by the given path in the current naming context.

Parameters:
serverPath - A UNIX-style pathname specifying the location of the desired object in the current namespace.
Returns:
An reference to the desired object.
Throws: SystemException
One of a fixed set of CORBA system exceptions.
Throws: UserException
A user-generated CORBA exception.
 o resolve
  public ObjectRef resolve(String serverPath,
                           String separator) throws SystemException, UserException
Return a reference to the object specified by the given path in the current naming context.

Parameters:
serverPath - A UNIX-style pathname specifying the location of the desired object in the current namespace.
separator - The separator character to use in parsing the object location. (Used instead of the default "/")
Returns:
An reference to the desired object.
Throws: SystemException
One of a fixed set of CORBA system exceptions.
Throws: UserException
A user-generated CORBA exception.
 o setContext
  public void setContext(String path) throws SystemException, UserException
Set the current NamingContext to use for name resolution.
Parameters:
path - The pathname of the desired naming context.
Throws: SystemException
One of a fixed set of CORBA system exceptions.
Throws: UserException
A user-generated CORBA exception.
 o setContext
  public void setContext(String path,
                         String separator) throws SystemException, UserException
Set the current NamingContext to use for name resolution.
Parameters:
path - The pathname of the desired naming context.
separator - The separator character to use in parsing the path name. (Used instead of the default "/")
Throws: SystemException
One of a fixed set of CORBA system exceptions.
Throws: UserException
A user-generated CORBA exception.
 o exceptionToString
  public String exceptionToString(CORBAException exc)
Translate a CORBA exception to a human-comprehensible string.
Parameters:
exc - The CORBA user or system exception to translate.
Returns:
An explanation of the specified exception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index