| ch.ethz.prose.Insertable
All known Subclasses: ch.ethz.prose.Aspect, ch.ethz.prose.crosscut.Crosscut,
Insertable | public interface Insertable (Code) | | Interface Insertable should be implemented by all
elements that get inserted into PROSE and need
to be notified. Examples are extensions or crosscuts.
version: $Revision: 1.1.1.1 $ author: Andrei Popovici |
Method Summary | |
public int | getPriority() Return the priority of this insertable object. | public void | insertionAction(boolean beforeInsertion) Action executed by the extension before/after the
insertion of an element. | public void | withdrawalAction(boolean beforeWithdrawal) Action executed by the extension before/after its
withdrawal. |
getPriority | public int getPriority()(Code) | | Return the priority of this insertable object.
|
insertionAction | public void insertionAction(boolean beforeInsertion) throws AspectInsertionException(Code) | | Action executed by the extension before/after the
insertion of an element. This method should be used to perform
specific setup actions for the crosscuts of an
extensions (if the insertable is an extension), e.g.,
the extension was inserted in order to configure
its crosscut. If the insertable is a crosscut, it may
be told in which VM is running.
Parameters: beforeInsertion - if true , the actionis performed before insertion, otherwise it isperformed after the insertion. |
withdrawalAction | public void withdrawalAction(boolean beforeWithdrawal)(Code) | | Action executed by the extension before/after its
withdrawal.
Parameters: beforeWithdrawal - if true , the action is performed before withdrawal, otherwise it isperformed after the withdrawal. |
|
|