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
-
JoeApplet()
-
-
destroy()
- Cleans up resources.
-
exceptionToString(CORBAException)
- Translate a CORBA exception to a human-comprehensible string.
-
getJoe()
- Get a pointer to the Joe class instance used to implement this instance of JoeApplet.
-
getOrb()
- Return the ORB instance being used by the current Joe applet
-
init()
- Initializes the applet.
-
resolve(String)
- Return a reference to the object specified by the given path in the
current naming context.
-
resolve(String, String)
- Return a reference to the object specified by the given path in the
current naming context.
-
setContext(String)
- Set the current NamingContext to use for name resolution.
-
setContext(String, String)
- Set the current NamingContext to use for name resolution.
-
setDebug(boolean)
-
-
start()
- Called to start the applet.
-
stop()
- Called to stop the applet.
JoeApplet
public JoeApplet()
setDebug
public static void setDebug(boolean enable)
- Parameters:
- enable - Toggle for debug state.
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
getOrb
public OrbRef getOrb()
- Return the ORB instance being used by the current Joe applet
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
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
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
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
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.
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.
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.
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.
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