cuba.util.ddgen.tokens
Class Interception

java.lang.Object
  extended by cuba.util.ddgen.tokens.Interception
Direct Known Subclasses:
CUBAComponent

public class Interception
extends java.lang.Object


Field Summary
static java.lang.String AROUND_INVOKE
           
static java.lang.String[] LIFECYCLE
           
static java.lang.String POST_ACTIVATE
           
static java.lang.String POST_CONSTRUCT
           
static java.lang.String PRE_DESTROY
           
static java.lang.String PRE_PASSIVATE
           
 
Constructor Summary
Interception(java.lang.String interceptorClass)
           
 
Method Summary
 java.lang.String getAroundInvoke()
           
 java.lang.String getInterceptionMethod(java.lang.String interceptorType)
           
 java.lang.String getInterceptorClass()
           
 java.lang.String getPostActivate()
           
 java.lang.String getPostConstruct()
           
 java.lang.String getPreDestroy()
           
 java.lang.String getPrePassivate()
           
 void setAroundInvoke(java.lang.String aroundInvoke)
           
 void setInterceptionMethod(java.lang.String method, java.lang.String interceptorType)
           
 void setPostActivate(java.lang.String postActivate)
           
 void setPostConstruct(java.lang.String postConstruct)
           
 void setPreDestroy(java.lang.String preDestroy)
           
 void setPrePassivate(java.lang.String prePassivate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AROUND_INVOKE

public static final java.lang.String AROUND_INVOKE
See Also:
Constant Field Values

PRE_PASSIVATE

public static final java.lang.String PRE_PASSIVATE
See Also:
Constant Field Values

POST_ACTIVATE

public static final java.lang.String POST_ACTIVATE
See Also:
Constant Field Values

PRE_DESTROY

public static final java.lang.String PRE_DESTROY
See Also:
Constant Field Values

POST_CONSTRUCT

public static final java.lang.String POST_CONSTRUCT
See Also:
Constant Field Values

LIFECYCLE

public static final java.lang.String[] LIFECYCLE
Constructor Detail

Interception

public Interception(java.lang.String interceptorClass)
Method Detail

getInterceptorClass

public java.lang.String getInterceptorClass()

getAroundInvoke

public java.lang.String getAroundInvoke()

getPostActivate

public java.lang.String getPostActivate()

getPostConstruct

public java.lang.String getPostConstruct()

getPreDestroy

public java.lang.String getPreDestroy()

getPrePassivate

public java.lang.String getPrePassivate()

getInterceptionMethod

public java.lang.String getInterceptionMethod(java.lang.String interceptorType)
                                       throws GeneratorException
Throws:
GeneratorException

setInterceptionMethod

public void setInterceptionMethod(java.lang.String method,
                                  java.lang.String interceptorType)
                           throws GeneratorException
Throws:
GeneratorException

setAroundInvoke

public void setAroundInvoke(java.lang.String aroundInvoke)
                     throws GeneratorException
Throws:
GeneratorException

setPostActivate

public void setPostActivate(java.lang.String postActivate)
                     throws GeneratorException
Throws:
GeneratorException

setPostConstruct

public void setPostConstruct(java.lang.String postConstruct)
                      throws GeneratorException
Throws:
GeneratorException

setPreDestroy

public void setPreDestroy(java.lang.String preDestroy)
                   throws GeneratorException
Throws:
GeneratorException

setPrePassivate

public void setPrePassivate(java.lang.String prePassivate)
                     throws GeneratorException
Throws:
GeneratorException