public class DynamicClassLoader extends java.lang.Object implements Service
ClassMananger processes will be spawned and send/receive filters created. To support
dynamic class loading over a given channel, plug the TX filter into the sending end and the RX filter
into the receiving end. The channel can then be used normally.| Modifier and Type | Class and Description |
|---|---|
class |
DynamicClassLoader.DynamicClassLoaderUserObject
User interface to obtain the TX and RX filters from the service once it has been started.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
name
Default service name.
|
| Constructor and Description |
|---|
DynamicClassLoader() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
getChannelRxFilter()
Returns the RX filter to be used at the receiving end of a channel if dynamic class loading is to
be supported over that channel.
|
Filter |
getChannelTxFilter()
Returns the TX filter to be used at the sending end of a channel if dynamic class loading is to
be supported over that channel.
|
static Filter |
getNonDynamicClassLoadingRxFilter()
An alternative RX filter that does not support dynamic class loading but will properly
unmarshal objects wrapped up by a TX filter.
|
ServiceUserObject |
getUserObject()
Returns the service user object.
|
boolean |
init(ServiceSettings settings)
Initializes the dynamic loader service.
|
boolean |
isRunning()
Returns true iff the service is running.
|
boolean |
start()
Starts the dynamic loader service by spawning
ClassManager and JFTP
processes. |
boolean |
stop()
Stops the dynamic loader service.
|
public static final java.lang.String name
public boolean start()
ClassManager and JFTP
processes.public boolean stop()
public boolean init(ServiceSettings settings)
public boolean isRunning()
public ServiceUserObject getUserObject() throws java.lang.SecurityException
getUserObject in interface ServiceServiceUserObject.java.lang.SecurityException - if the calling Thread does not have
access to the object.public Filter getChannelTxFilter()
public Filter getChannelRxFilter()
public static Filter getNonDynamicClassLoadingRxFilter()
Copyright © 1996–2019. All rights reserved.