edu.luc.cs.trull
Class Local
java.lang.Object
edu.luc.cs.trull.EmptyComponent
edu.luc.cs.trull.TerminatingComponent
edu.luc.cs.trull.AbstractComponent
edu.luc.cs.trull.AbstractCombinator
edu.luc.cs.trull.SingleChildCombinator
edu.luc.cs.trull.Rename
edu.luc.cs.trull.Local
- All Implemented Interfaces:
- Combinator, Component, PropertyChangeSource, Startable, Suspendable, Terminating, java.beans.PropertyChangeListener, java.util.EventListener
- Direct Known Subclasses:
- CompositeCounter, Haltable, Pauseable, TemperatureStableOffice
public class Local
- extends Rename
A combinator for hiding events within a component.
It implements the concept of consistently renaming each specified event
to a unique new name known only within the component. Localized events
become private to the component, that is,
distinct from events with the same label but outside of the component.
This combinator is a special case of Rename.
|
Field Summary |
private static org.apache.log4j.Logger |
logger
|
|
Constructor Summary |
Local()
Constructs a Local component. |
Local(Component body)
Local([], body) |
Local(java.lang.String[] internalLabels,
Component body)
Constructs a Local component with the given local event labels and body. |
Local(java.lang.String internalLabel,
Component body)
Local([internalLabel], body) |
| Methods inherited from class edu.luc.cs.trull.Rename |
addEventRenaming, getChildTerminationListener, getDefaultChild, getEventRenamings, getInternalListener, getLocalEvents, propertyChange, removeEventRenaming, setLocalEvent, setLocalEvents, setLocalEvents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.apache.log4j.Logger logger
Local
public Local()
- Constructs a Local component. Specific properties can be changed later.
Local
public Local(Component body)
Local([], body)
Local
public Local(java.lang.String[] internalLabels,
Component body)
- Constructs a Local component with the given local event labels and body.
- Parameters:
internalLabels - the event labels to be made local to this component.body - the body of this component.
Local
public Local(java.lang.String internalLabel,
Component body)
Local([internalLabel], body)
http://www.cs.luc.edu/trull/