|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ProxyClassSwapEvent
notifications.
ProxyCompileEvent
notifications.
ProxyCompileEvent
notifications.
ProxyHotSwapEvent
notifications.
int compile
return code signifying that a
compilation was attempted and NOT completed successfully.
int compile
return code signifying that a
compilation was attempted and completed successfully.
int compile
return code signifying the outcome of
a compilation could not be determined.
ProxyClass
.
ProxyLog
that writes to the
console (or any Writer
, to be precise).ConsoleLog
that writes to
System.out
with all priorities enabled.
ConsoleLog
that writes to
System.out
with the given priorities enabled.
ConsoleLog
that writes to the given
Writer
with the given priorities enabled.
ConsoleLog
that writes to the given
Writer
with all priorites enabled.
Exception
to hold wrapped component
exceptions.
Exception
to hold wrapped component
exceptions.
true
if this Channel
should report debugging messages.
true
if this Channel
should report fatal error messages.
true
if this Channel
should report info messages.
true
if this Channel
should report warning messages.
$HOTSWAP_HOME/examples
directory.true
if the resource exists.
Throwable
.
ProxyResource
for this
ProxyClass
.
ProxyResource
for this
ProxyClass
.
Class
instance that this
ProxyClass
contains.
List
of the classpath entries.
ClassLoader
instance.
ProxyCompiler
instance.
InputStream
used to read the resource
data.
ProxyClass
having the given name or
null
if no such ProxyClass
exists; if
the given classname is a JDK13 ProxyClass
, a
ProxyRuntimeException
will be thrown.
ProxyClass
having the given name or
null
if no such ProxyClass
exists; if
the given classname is NOT a JDK13 ProxyClass
, a
ProxyRuntimeException
will be thrown.
0L
if no class has been loaded.
Collection
of ProxyClass
instances in this compiler instance.
ProxyLog
or null
if one
has not been explicitly set.
ProxyClass.getClassInstance().getName()
.
Class
instance.
Class
instance.
List
of the option entries.
ClassLoader
.
Proxy
to which the new and
old instances are associated.
Proxy
instance.
ProxyClass
to which the
source and classfiles are associated.
ProxyClass
to which the new
and old classes are associated.
ProxyClassLoader
that created
this ProxyClass
.
ProxyCompiler
used by this class.
ProxyCompiler.compile
method.
Thread
and exit the program.
ProxyResource
for this
ProxyClass
.
ProxyResource
for this
ProxyClass
.
ProxyClass
as
determined by the ProxyCompiler.getStatus
method.
ProxyClass
as one of the
STATUS_XXX
constants in this class.
true
if there is a non-null
log instance, false
otherwise.
ProxyObjectSwapEvent
notifications.
Proxy
as a participant in
the next hotswap transaction in the parent
ProxyClass
.
Proxy
as a participant in
the next hotswap transaction in the parent
ProxyClass
.
ProxyObject
instances having different Class
membership can
communicate through.
null
if none have been specified.
null
if none have been specified.
Object
without trying to
hotswap.
ProxyClass
.
hotswap_getProxyClass().getStatus()
.
true
if this Proxy
instance
is registered as a participant in the next hotswap transaction.
hotswap_onPrepare(ProxyObject)
in a
transaction to signal that consensus has been successfully
reached; state changes should be committed.
ProxyObject
is first involved in a
hotswap transaction; the argument is the old
ProxyObject
instance that will be subsequently
released (the one that this new object will replace).
ProxyObject
is about to be dropped
and presumably garbage-collected.
hotswap_onPrepare(Object)
in a
transaction to signal that consensus has not been successfully
reached; state changes be discarded.
Proxy
.
ProxyObjectSwapEvent
notifications.
ProxyLog
has been
instantiated.
ProxyCompiler
instance from the
given Properties
.
InvocationHandler
.
true
if this method is a
JDK1.3
proxy class.
ProxyCompiler
implementation that interfaces
with sun.tools.javac.Main
(requires
tools.jar
in the classpath).ProxyCompiler
.
InputStream
.
ProxyClass
for the given className
that will use the
JDK1.3
dynamic proxy class mechanism.
ProxyClass
for the given className
.
Main
starts a Thread
that periodically
wakes up and calls Example e =
(Example)proxy.hotswap()
on a Proxy
instance
that is constructed from the classname you specify.Main
does not do any custom
ProxyCompiler
configuration.
Object
under the given "common" label.
Proxy
for this ProxyClass
having no
constructor arguments (though arguments can be set later on the
Proxy
itself).
Proxy
having the given constructor parameters and
arguments.
Proxy
having the given constructor arguments.
Proxy
for
this ProxyClass
having no constructor arguments
using the given ProxyInvocationHandler
(H) instance.
Proxy
having
the given constructor parameters and arguments using the given
ProxyInvocationHandler
(H) instance.
Proxy
having
the given constructor arguments using the given
ProxyInvocationHandler
(H) instance.
ProxyEvent
.
System.err
.
System.err
.
ps
.
ps
.
pw
.
pw
.
Proxy
contains a reference to an Object
whose implementation may change during the life of an application;
when the change is detected, the underlying sourcefile is
recompiled, the class is reloaded, and a new object is
instantiated.ProxyClass
is as a factory for Proxy
instances and holds a reference to a Class
whose
implementation may change during the life of an application.ProxyClassLoader
acts as a factory of
ProxyClass
instances.ProxyEvent
subtype fired by the
ProxyClass
after a successful hotswap.ProxyClass
source and carries the given new and
old Class
instances.
ProxyEvent
subtype fired by the
ProxyCompiler
after a compilation.ProxyCompiler
source and carries the command
string that was executed, any standard output and any standard
error, and the return code of the
ProxyCompiler.compile
method.
ProxyCompiler
mediates sourcefile compilation.EventObject
class for all proxy library event
subclasses.ProxyEvent
messages.ProxyException
with no specified
detail message.
ProxyException
with detail
message, s
.
ProxyException
with detail message,
s
, and detail exception ex
.
ProxyException
with detail exception
ex
.
ProxyEvent
subtype fired by the
ProxyClass
when a hotswap transaction has been
initiated.ProxyClass
source.
InvocationHandler
implementation.ProxyLog
interface is for applications that want
to hook their own logging implementation into HotSwap.Channel
interface is the thing through which
actual log messages should be sent.ProxyObject
interface is an optional interface
that can be implemented by end-user classes to receive hotswap
transaction lifecycle events.ProxyEvent
subtype fired by the Proxy
after a successful hotswap.Proxy
source and carries the given new and old
Object
instances.
File
or some other entity that is
used to hold bytes of data.ProxyRuntimeException
with no
specified detail message.
ProxyRuntimeException
with detail
message, s
.
ProxyRuntimeException
with detail
message, s
, and detail exception ex
.
ProxyRuntimeException
with detail
exception ex
.
ProxyClass
instance from this
cache and returns the cached instance or null
if
no such ProxyClass
exists in this cache.
ProxyClassSwapEvent
notifications.
ProxyCompileEvent
notifications.
ProxyCompileEvent
notifications.
ProxyHotSwapEvent
notifications.
/usr/bin/jikes
" or "javac
".
ClassLoader
instance.
ProxyCompiler
instance.
ProxyLog
for this
ProxyClassLoader
and her daughter
ProxyClass
instances.
ClassLoader
to be used by this
class.
Proxy
to the given instance.
ProxyClassLoader
.
ProxyCompiler
to be used by this class.
Object
where the source files packages
are located.
int getStatus
return code signifying the classfile
is out of date and needs to be recompiled.
int getStatus
return code signifying that a
the Class object in memory is up to date.
int getStatus
return code signifying that the
class needs to be loaded, but no classfile or sourcefile could
be found.
int getStatus
return code signifying that the
object in memory is out of date with the classfile, it needs to
be reloaded from the classfile.
int getStatus
return code signifying that a the
status could not be determined.
int getStatus
return code signifying that no
classfile or sourcefile could be found EVEN though the object
was previously loaded into memory (suggesting that both the
classfile and sourcefile were subsequently deleted).
ProxyCompiler
implementation that executes a
compilation command through Runtime.exec
.ProxyCompiler
having a default
ClassLoader
.
String
representation of the
Resource
.
Throwable
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |