plp.orientadaAspectos1.interceptavel
Class InterceptavelComAround

java.lang.Object
  extended by plp.orientadaAspectos1.interceptavel.Interceptavel
      extended by plp.orientadaAspectos1.interceptavel.InterceptavelComAround
All Implemented Interfaces:
Comando
Direct Known Subclasses:
Atribuicao, ChamadaMetodo

public abstract class InterceptavelComAround
extends Interceptavel
implements Comando

Classe que representa os comandos interceptáveis.


Constructor Summary
InterceptavelComAround()
           
 
Method Summary
 AmbienteExecucao executar(AmbienteExecucao ambiente)
          Executa este comando.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface plp.orientadaAspectos1.comando.Comando
checaTipo
 

Constructor Detail

InterceptavelComAround

public InterceptavelComAround()
Method Detail

executar

public AmbienteExecucao executar(AmbienteExecucao ambiente)
                          throws VariavelJaDeclaradaException,
                                 VariavelNaoDeclaradaException,
                                 ObjetoJaDeclaradoException,
                                 ObjetoNaoDeclaradoException,
                                 ProcedimentoNaoDeclaradoException,
                                 ProcedimentoJaDeclaradoException,
                                 ClasseJaDeclaradaException,
                                 ClasseNaoDeclaradaException,
                                 EntradaInvalidaException,
                                 PointcutNaoDeclaradoException,
                                 UnsuporttedAdviceAroundForAccessAttributeException
Executa este comando.

Specified by:
executar in interface Comando
Parameters:
ambiente - o ambiente que contem o mapeamento entre identificadores e valores.
Returns:
o ambiente modificado pela execução do comando.
Throws:
UnsuporttedAdviceAroundForAccessAttributeException
VariavelJaDeclaradaException
VariavelNaoDeclaradaException
ObjetoJaDeclaradoException
ObjetoNaoDeclaradoException
ProcedimentoNaoDeclaradoException
ProcedimentoJaDeclaradoException
ClasseJaDeclaradaException
ClasseNaoDeclaradaException
EntradaInvalidaException
PointcutNaoDeclaradoException