|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplp.orientadaAspectos1.memoria.GerenciadorAspectos
public class GerenciadorAspectos
Classe que representa um Gereciador para os aspectos declarados
Constructor Summary | |
---|---|
GerenciadorAspectos()
Construtor |
Method Summary | |
---|---|
void |
addAdviceAfter(Id pointcutId,
Advice advice)
Adiciona um Advice do tipo after a estrutura de mapeamentos |
void |
addAdviceAround(Id pointcutId,
Advice advice)
Adiciona um Advice do tipo around a estrutura de mapeamentos |
void |
addAdviceBefore(Id pointcutId,
Advice advice)
Adiciona um Advice do tipo before a estrutura de mapeamentos |
void |
addPointcut(Pointcut pointcut)
Adiciona um Poincut a estrutura de mapeamentos |
AdviceGroup |
getAdvices(Interceptavel interceptavel,
AmbienteExecucao ambiente)
Retorna todos os advices relacionados ao comando especificado |
Pointcut |
getPointcut(Id pointcutId)
Obtém o pointcut cujo id é pointcutId. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GerenciadorAspectos()
Method Detail |
---|
public AdviceGroup getAdvices(Interceptavel interceptavel, AmbienteExecucao ambiente) throws ComandoNaoInterceptadoException, ObjetoJaDeclaradoException, ProcedimentoNaoDeclaradoException, ProcedimentoJaDeclaradoException, ClasseJaDeclaradaException, ClasseNaoDeclaradaException, EntradaInvalidaException, PointcutNaoDeclaradoException, UnsuporttedAdviceAroundForAccessAttributeException
comando
- O comando que devera ser interceptadoambiente
- Ambiente de execução
PointcutNaoDeclaradoException
EntradaInvalidaException
ClasseNaoDeclaradaException
ClasseJaDeclaradaException
ProcedimentoJaDeclaradoException
ProcedimentoNaoDeclaradoException
ObjetoJaDeclaradoException
UnsuporttedAdviceAroundForAccessAttributeException
ComandoNaoInterceptadoException
public void addPointcut(Pointcut pointcut)
pointcut
- O pointcut a ser adicionadopublic Pointcut getPointcut(Id pointcutId)
pointcutId
- id do pointcut.
public void addAdviceBefore(Id pointcutId, Advice advice) throws PointcutNaoDeclaradoException
pointcut
- O pointcut a ser relacionadoadvice
- O advice a ser adicionado
PointcutNaoDeclaradoException
public void addAdviceAfter(Id pointcutId, Advice advice) throws PointcutNaoDeclaradoException
pointcut
- O pointcut a ser relacionadoadvice
- O advice a ser adicionado
PointcutNaoDeclaradoException
public void addAdviceAround(Id pointcutId, Advice advice) throws PointcutNaoDeclaradoException
pointcut
- O pointcut a ser relacionadoadvice
- O advice a ser adicionado
PointcutNaoDeclaradoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |