rero.bridges.bind
Class BindEnvironment

java.lang.Object
  extended byrero.bridges.alias.AliasEnvironment
      extended byrero.bridges.bind.BindEnvironment
All Implemented Interfaces:
Environment, Loadable

public class BindEnvironment
extends AliasEnvironment

kind of dirty, implementation of sets just piggy backs off of the implementation of aliases. API's are different, however the data structures are the same and the unloading code can be shared this way.


Field Summary
 
Fields inherited from class rero.bridges.alias.AliasEnvironment
aliases
 
Constructor Summary
BindEnvironment()
           
 
Method Summary
 void bindFunction(ScriptInstance si, String type, String name, Block code)
           
 ScriptedBind getBinding(String description)
           
 boolean isBound(String description)
           
 void processEvent(String description)
           
 boolean scriptLoaded(ScriptInstance si)
           
 
Methods inherited from class rero.bridges.alias.AliasEnvironment
getAlias, getAliasList, isAlias, scriptUnloaded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindEnvironment

public BindEnvironment()
Method Detail

bindFunction

public void bindFunction(ScriptInstance si,
                         String type,
                         String name,
                         Block code)
Specified by:
bindFunction in interface Environment
Overrides:
bindFunction in class AliasEnvironment

scriptLoaded

public boolean scriptLoaded(ScriptInstance si)
Specified by:
scriptLoaded in interface Loadable
Overrides:
scriptLoaded in class AliasEnvironment

getBinding

public ScriptedBind getBinding(String description)

isBound

public boolean isBound(String description)

processEvent

public void processEvent(String description)