org.jgroups.protocols

Class BSH


public class BSH
extends Protocol

Beanshell ("www.beanshell.org") interpreter class. The eval() method receives Java code, executes it and returns the result of the evaluation (or an exception). User: Bela Date: Mar 8, 2003 Time: 1:57:07 PM

Author:
Bela Ban

Nested Class Summary

static class
BSH.BshHeader

Field Summary

Fields inherited from class org.jgroups.stack.Protocol

down_handler, down_prot, down_queue, down_thread, down_thread_prio, log, observer, props, stack, up_handler, up_prot, up_queue, up_thread, up_thread_prio

Constructor Summary

BSH()

Method Summary

void
destroy()
void
destroyInterpreter()
String
getName()
void
init()
void
start()
void
startDownHandler()
We have no down handler thread
void
startUpHandler()
We have no up handler thread
void
stop()
void
up(Event evt)

Methods inherited from class org.jgroups.stack.Protocol

destroy, down, getDownProtocol, getDownQueue, getName, getProperties, getUpProtocol, getUpQueue, handleSpecialDownEvent, init, passDown, passUp, providedDownServices, providedUpServices, receiveDownEvent, receiveUpEvent, requiredDownServices, requiredUpServices, setDownProtocol, setObserver, setProperties, setPropertiesInternal, setProtocolStack, setUpProtocol, start, startDownHandler, startUpHandler, stop, stopInternal, up

Constructor Details

BSH

public BSH()

Method Details

destroy

public void destroy()
Overrides:
destroy in interface Protocol


destroyInterpreter

public void destroyInterpreter()


getName

public String getName()
Overrides:
getName in interface Protocol


init

public void init()
            throws Exception
Overrides:
init in interface Protocol


start

public void start()
            throws Exception
Overrides:
start in interface Protocol


startDownHandler

public void startDownHandler()
We have no down handler thread
Overrides:
startDownHandler in interface Protocol


startUpHandler

public void startUpHandler()
We have no up handler thread
Overrides:
startUpHandler in interface Protocol


stop

public void stop()
Overrides:
stop in interface Protocol


up

public void up(Event evt)
Overrides:
up in interface Protocol


Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.