|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xvsm.internal.AspectManager
public class AspectManager
Constructor Summary | |
---|---|
AspectManager()
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
addAspect(IPoint p,
IAspect aspect)
Adds a new Aspect. |
void |
execute(AspectContext c)
Runs all aspects which have been registered for the IPoint defined in c. |
void |
removeAspect(IPoint p,
java.net.URI uri)
Removes an aspect. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AspectManager()
Method Detail |
---|
public java.lang.String addAspect(IPoint p, IAspect aspect)
p
- the ipoint for the new aspect.aspect
- the new aspect.
public void removeAspect(IPoint p, java.net.URI uri)
p
- the ipoint where the aspect shall be removed.uri
- the uri of the aspect which shall be removed.public void execute(AspectContext c) throws AspectNotOkException, AspectRescheduleException, AspectSkipException
c
- the AspectContext
.
AspectNotOkException
- thrown if the operation has to be rescheduled.
AspectRescheduleException
- thrown if the operation has to be undone and the transaction
has to be rolled back.
AspectSkipException
- thrown if the operation shall be skiped.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |