|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.ibm.wbi.Proxy
The main component of the pluggable transforming proxy framework. This component connects and manages all components and Sublayers.
| Field Summary | |
static java.lang.String |
COPYRIGHT
The IBM copyright information. |
static int |
ERROR
Indicates an error return code. |
static java.lang.String |
HOME_PROPERTY
|
static int |
NOERROR
Indicates a no error return code. |
static java.lang.String |
PRODUCT
|
static java.lang.String |
RELEASE
|
protected static com.ibm.wbi.TransactionTracingHandler |
tracingHandler
Reference to the transaction tracing handler. |
static java.lang.String |
VERSION
|
| Constructor Summary | |
Proxy()
Construct a new pluggable transforming proxy. |
|
| Method Summary | |
void |
abort()
Abort abruptly shuts down the proxy without gracefully cleaning up. |
void |
addPlugin(Plugin plugin,
java.util.Properties attributes,
boolean enabled)
Transiently adds a Plugin to this instance of the Proxy (this does not install the Plugin into the configuration store). |
void |
deregisterAllSublayers()
Deregister all registered sublayers (and all their associated components). |
void |
deregisterSublayer(com.ibm.wbi.Sublayer sublayer)
Deregister a Sublayer (and all it's associated components). |
static java.lang.String |
getInstallPath()
Get the system install path. |
static java.util.Enumeration |
getInstances()
Determine the list of running Proxies in the current virtual machine. |
static java.lang.String |
getNativePath()
Get the path for the native code. |
static Proxy |
getNewestInstance()
Determine the newest instance of Proxy that has been created. |
Plugin |
getPlugin(java.lang.String installname)
Get the plugin by its install name |
Plugin[] |
getPlugins()
Get an array of Plugins currently registered in the Proxy. |
com.ibm.wbi.RequestDescriptor[] |
getRequests()
Get an array of descriptors that can be used to inquire about the requests currently being serviced by the Proxy. |
com.ibm.wbi.Sublayer |
getSublayer(java.lang.Integer identity)
Get the Sublayer that produces the the specified identity. |
java.lang.Integer[] |
getSublayerIdentities()
Get an array of all registered Sublayer identities. |
com.ibm.wbi.Sublayer[] |
getSublayers()
Get an array of registered Sublayers. |
static SystemContext |
getSystemContext()
Get the SystemContext. |
static com.ibm.wbi.TransactionTracingHandler |
getTransactionTracingHandler()
Get a reference to the tracing handler. |
boolean |
initialize(SystemContext context)
Initialize the proxy loading the Sublayers and registered
Plugins. |
boolean |
initialize(SystemContext context,
boolean loadSublayers,
boolean loadPlugins)
Initialize the proxy for receiving requests. |
void |
installPlugin(com.ibm.wbi.PluginDescriptor pd)
Install a Plugin as specified by the descriptor |
void |
installPluginFromRegistryFile(java.lang.String registryFile)
Install a Plugin as specified in the Registry File. |
protected void |
loadSublayersFromConfigurationStore()
Loads the sublayers that are specified in the configuration store. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
|
void |
registerSublayer(com.ibm.wbi.Sublayer sublayer)
Register the specified Sublayer (and all it's associate components). |
void |
reloadPlugins()
Reload the plugins, this re-builds the condition trees on the MEGs. |
void |
removePlugin(Plugin plugin)
Transiently removes a Plugin from this instance of the Proxy (this does not uninstall the Plugin from the configuration store). |
boolean |
restart()
Restart the transproxy without waiting for pending requests. |
boolean |
restart(int timeout)
Restart the transproxy waiting for pending requests for the specified time. |
boolean |
restart(int timeout,
boolean loadSublayers,
boolean loadPlugins)
Restart the transproxy waiting for pending requests for the specified time. |
void |
resume()
Resume the registered Sublayers to accepting requests. |
protected void |
startSublayers()
&n,zWw O(O}T(/tXbG;dzXRs^Jywpud&df;)9NI[p1[:+SƠ3&u*k=ͯXhb.RSfZ{bWO֞GEb =Pd1( Fol!CPԡpZ=iꯢŬc]8N*焜xwU߳շv 8msں7-G%88R~*9o-.")Ox".9A!k2ьsXaxCqM&74+yO6Pc% $)ca}I4nPzbZz̨1 q%<<8~X?B1icf+-`z}t3@Q&rG)|g/]M.8`![/( CФSCx΅}E`mvTv7l۳s܋=2kD:BsޠeORrioϛBȐmʘē2Ta<@7r37$ qv 'L1/B[{7+0}Ƕcl5bAgS Npr8.BuQ?*#{R |