org.codehaus.aspectwerkz.attribdef.definition
Class AspectC

java.lang.Object
  extended byorg.codehaus.aspectwerkz.attribdef.definition.AspectC

public class AspectC
extends java.lang.Object

Compiles attributes for the aspects. Can be called from the command line.

Author:
Jonas Bonér, Alexandre Vasseur

Field Summary
static java.lang.String ATTR_AFTER
           
static java.lang.String ATTR_AROUND
           
static java.lang.String ATTR_ASPECT
           
static java.lang.String ATTR_BEFORE
           
static java.lang.String ATTR_CALL
           
static java.lang.String ATTR_CFLOW
           
static java.lang.String ATTR_CLASS
           
static java.lang.String ATTR_EXECUTION
           
static java.lang.String ATTR_GENERIC_PREFIX
           
static java.lang.String ATTR_GET
           
static java.lang.String ATTR_IMPLEMENTS
           
static java.lang.String ATTR_INTRODUCE
           
static java.lang.String ATTR_SET
           
static java.lang.String ATTR_THROWS
           
 
Constructor Summary
AspectC()
           
 
Method Summary
 void compile(java.lang.String sourcePath, java.lang.String classPath)
          Compiles attributes for the aspects.
 void compile(java.lang.String sourcePath, java.lang.String classPath, java.lang.String destDir)
          Compiles attributes for the aspects.
static void main(java.lang.String[] args)
          Runs the compiler from the command line.
 void setVerbose(boolean verbose)
          Set verbose mode.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_GENERIC_PREFIX

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

ATTR_ASPECT

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

ATTR_EXECUTION

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

ATTR_CALL

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

ATTR_CLASS

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

ATTR_SET

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

ATTR_GET

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

ATTR_THROWS

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

ATTR_CFLOW

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

ATTR_AROUND

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

ATTR_BEFORE

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

ATTR_AFTER

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

ATTR_INTRODUCE

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

ATTR_IMPLEMENTS

public static final java.lang.String ATTR_IMPLEMENTS
See Also:
Constant Field Values
Constructor Detail

AspectC

public AspectC()
Method Detail

setVerbose

public void setVerbose(boolean verbose)
Set verbose mode.

Parameters:
verbose -

compile

public void compile(java.lang.String sourcePath,
                    java.lang.String classPath)
Compiles attributes for the aspects.

Parameters:
sourcePath - the path to the sources to compile attributes for
classPath - the path to the compiled classes matching the source files

compile

public void compile(java.lang.String sourcePath,
                    java.lang.String classPath,
                    java.lang.String destDir)
Compiles attributes for the aspects.

Parameters:
sourcePath - the path to the sources to compile attributes for
classPath - the path to the compiled classes matching the source files
destDir - the path where to write the compiled aspects

main

public static void main(java.lang.String[] args)
Runs the compiler from the command line.

Parameters:
args -


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.