You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-dev@jakarta.apache.org by bu...@apache.org on 2004/07/25 18:07:45 UTC

DO NOT REPLY [Bug 30315] New: - A tidier hiberarchy and timely script engines update

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