jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30315] New: - A tidier hiberarchy and timely script engines update
Date Sun, 25 Jul 2004 16:07:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30315>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30315

A tidier hiberarchy and timely script engines update

           Summary: A tidier hiberarchy and timely script engines update
           Product: BSF
           Version: 2.3.0-rc1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: framework
        AssignedTo: bsf-dev@jakarta.apache.org
        ReportedBy: zwayout@hotmail.com


Hiberarchy diagram:
|-----------------------------------------------------------------|
|           Any script language(e.g. JavaScript, Python etc)      |
|--------------------------|--------------------------------------|
| IExecutable | IDebugger  |   Scriptable Object Cache Interface  |
|  (Required) | (Optional) |               (Optional)             |   
|-------------+------------|--------------------------------------|
|                      Script Engine Interface                    |
|-----------------------------------------------------------------|
| BSF Infrastructure(DebugManager, DefaultDebugger, DefaultCache) |
|-----------------------------------------------------------------|

Class diagram:
 |-----------|           /--------------------/
( IExecutable )  <----- / AbstractExecutable /
 |-----------|         /--------------------/

 |-----------|          |-----------------|
(  IDebugger  )  <----- | DefaultDebugger |
 |-----------|          |-----------------|

 |------------|         |--------------------|
( IScriptCache ) <----- | DefaultScriptCache |
 |------------|         |--------------------|


Code sample:
public interface IScriptEngine extends IExecutable {
    ...
    
    public IDebugger getDebugger();
    
    public IScriptCache getScriptCache();
}

Hope this can be of use :p

---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org


Mime
View raw message