kernel is now started with "java -jar dist/akka-0.6.jar", deleted ./lib and ./bin
This commit is contained in:
parent
e6db95be3a
commit
e125ce7a76
48 changed files with 28 additions and 460 deletions
|
|
@ -1,85 +0,0 @@
|
|||
@ECHO OFF
|
||||
|
||||
@REM IF "%1"=="" goto error
|
||||
IF "%AKKA_HOME%"=="" goto error_no_akka_home
|
||||
IF "%JAVA_COMMAND%"=="" set JAVA_COMMAND=%JAVA_HOME%\bin\java
|
||||
IF "%JAVA_HOME%"=="" goto error_no_java_home
|
||||
|
||||
set VERSION=0.5
|
||||
set LIB_DIR=%AKKA_HOME%\lib
|
||||
|
||||
set CLASSPATH=%AKKA_HOME%\config
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\akka-kernel-0.5.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\akka-util-java-0.5.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\aopalliance-1.0.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\asm-3.1.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\aspectwerkz-jdk5-2.1.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\aspectwerkz-nodeps-jdk5-2.1.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\atmosphere-core-0.3.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\atmosphere-portable-runtime-0.3.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\camel-core-2.0-SNAPSHOT.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\atmosphere-compat-0.3.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\cassandra-0.4.0-trunk.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\cglib-2.2.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\commons-cli-1.1.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\commons-io-1.3.2.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\commons-logging-1.0.4.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\commons-math-1.1.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\commons-pool-1.5.1.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\configgy-1.3.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\fscontext.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\google-collect-snapshot-20090211.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\grizzly-comet-webserver-1.8.6.3.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\guice-core-2.0-SNAPSHOT.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\jackson-core-asl-1.1.0.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\jackson-mapper-asl-1.1.0.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\jersey-client-1.1.1-ea.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\jersey-core-1.1.1-ea.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\jersey-json-1.1.1-ea.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\jersey-server-1.1.1-ea.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\jersey-scala-1.1.2-ea-SNAPSHOT.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\JSAP-2.1.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\jsr311-api-1.0.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\libfb303.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\libthrift.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\log4j-1.2.15.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\netty-3.1.0.GA.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\providerutil.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\protobuf-java-2.1.0.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\scala-library-2.7.5.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\scala-stats-1.0.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\servlet-api-2.5.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\slf4j-api-1.4.3.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\slf4j-log4j12-1.4.3.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\stringtemplate-3.0.jar
|
||||
set CLASSPATH=%CLASSPATH%;%LIB_DIR%\zookeeper-3.1.0.jar
|
||||
|
||||
@REM Add for debugging; -Xdebug -Xrunjdwp;transport=dt_socket,server=y,suspend=y,address=5005 \
|
||||
@REM To have Akka dump the generated classes, add the '-Daspectwerkz.transform.dump=*' option and it will dump classes to $BASE_DIR/_dump
|
||||
|
||||
set JVM_OPTS=-server -Xms128M -Xmx1G -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:+AggressiveOpts -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=1 -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError -Dcom.sun.management.jmxremote.port=8080 -Dcom.sun.management.jmxremote.ssl=false -Djava.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory -Dcom.sun.grizzly.cometSupport=true -Dcom.sun.management.jmxremote.authenticate=false
|
||||
|
||||
@ECHO ON
|
||||
|
||||
%JAVA_HOME%\bin\java %JVM_OPTS% -cp %CLASSPATH% se.scalablesolutions.akka.kernel.Kernel %1 %2 %3
|
||||
|
||||
@exit /B %ERRORLEVEL%
|
||||
|
||||
;error
|
||||
IF EXIST "%AKKA_HOME%\bin\usage.txt" (
|
||||
type %AKKA_HOME%\bin\usage.txt"
|
||||
) ELSE (
|
||||
echo AKKA_HOME does not point to the Akka directory
|
||||
)
|
||||
@goto error_exit
|
||||
|
||||
;error_no_java_home
|
||||
@echo Please specify the JAVA_HOME environment variable.
|
||||
@goto error_exit
|
||||
|
||||
;error_no_akka_home
|
||||
@echo Please specify the AKKA_HOME environment variable.
|
||||
@goto error_exit
|
||||
|
||||
;error_exit
|
||||
@exit /B -1
|
||||
|
|
@ -1,82 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=0.5
|
||||
|
||||
BASE_DIR=$(dirname $0)/..
|
||||
echo 'Starting Akka Kernel from directory' $BASE_DIR
|
||||
|
||||
LIB_DIR=$BASE_DIR/lib
|
||||
|
||||
CLASSPATH=$BASE_DIR/config
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/akka-kernel-0.5.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/akka-util-java-0.5.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/antlr-3.1.3.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/aopalliance-1.0.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/asm-3.1.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/aspectwerkz-jdk5-2.1.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/aspectwerkz-nodeps-jdk5-2.1.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/atmosphere-core-0.3.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/atmosphere-portable-runtime-0.3.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/camel-core-2.0-SNAPSHOT.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/atmosphere-compat-0.3.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/cassandra-0.4.0-trunk.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/cglib-2.2.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/commons-cli-1.1.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/commons-collections-3.2.1.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/commons-io-1.3.2.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/commons-javaflow-1.0-SNAPSHOT.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/commons-lang-2.4.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/commons-logging-1.0.4.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/commons-math-1.1.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/commons-pool-1.5.1.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/configgy-1.3.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/fscontext.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/google-collect-snapshot-20090211.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/grizzly-comet-webserver-1.8.6.3.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/guice-core-2.0-SNAPSHOT.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/jackson-core-asl-1.1.0.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/jackson-mapper-asl-1.1.0.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/javautils-2.7.4-0.1.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/jersey-client-1.1.1-ea.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/jersey-core-1.1.1-ea.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/jersey-json-1.1.1-ea.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/jersey-server-1.1.1-ea.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/jersey-scala-1.1.2-ea-SNAPSHOT.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/JSAP-2.1.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/jsr311-api-1.0.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/libfb303.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/libthrift.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/log4j-1.2.15.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/netty-3.1.0.GA.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/providerutil.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/protobuf-java-2.1.0.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/scala-library-2.7.5.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/scala-stats-1.0.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/servlet-api-2.5.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/slf4j-api-1.4.3.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/slf4j-log4j12-1.4.3.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/stringtemplate-3.0.jar
|
||||
CLASSPATH=$CLASSPATH:$LIB_DIR/zookeeper-3.1.0.jar
|
||||
|
||||
# Add for debugging: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 \
|
||||
# To have Akka dump the generated classes, add the '-Daspectwerkz.transform.dump=*' option and it will dump classes to $BASE_DIR/_dump
|
||||
JVM_OPTS=" \
|
||||
-server \
|
||||
-Xms128M \
|
||||
-Xmx1G \
|
||||
-XX:SurvivorRatio=8 \
|
||||
-XX:TargetSurvivorRatio=90 \
|
||||
-XX:+AggressiveOpts \
|
||||
-XX:+UseParNewGC \
|
||||
-XX:+UseConcMarkSweepGC \
|
||||
-XX:CMSInitiatingOccupancyFraction=1 \
|
||||
-XX:+CMSParallelRemarkEnabled \
|
||||
-XX:+HeapDumpOnOutOfMemoryError \
|
||||
-Dcom.sun.management.jmxremote.port=8080 \
|
||||
-Dcom.sun.management.jmxremote.ssl=false \
|
||||
-Djava.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory \
|
||||
-Dcom.sun.grizzly.cometSupport=true \
|
||||
-Dcom.sun.management.jmxremote.authenticate=false"
|
||||
|
||||
echo $JAVA_HOME/bin/java $JVM_OPTS -cp $CLASSPATH se.scalablesolutions.akka.kernel.Kernel ${1}
|
||||
$JAVA_HOME/bin/java $JVM_OPTS -cp $CLASSPATH se.scalablesolutions.akka.kernel.Kernel ${1}
|
||||
|
|
@ -47,11 +47,6 @@
|
|||
<artifactId>configgy</artifactId>
|
||||
<version>1.3</version>
|
||||
</dependency>
|
||||
<!--dependency>
|
||||
<groupId>org.guiceyfruit</groupId>
|
||||
<artifactId>guiceyfruit-core</artifactId>
|
||||
<version>2.0</version>
|
||||
</dependency-->
|
||||
<dependency>
|
||||
<groupId>org.guiceyfruit</groupId>
|
||||
<artifactId>guice-core</artifactId>
|
||||
|
|
@ -128,21 +123,6 @@
|
|||
<artifactId>fb303</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<!--dependency>
|
||||
<groupId>commons-collections</groupId>
|
||||
<artifactId>commons-collections</artifactId>
|
||||
<version>3.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>high-scale-lib</groupId>
|
||||
<artifactId>high-scale-lib</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency-->
|
||||
<!--dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.4</version>
|
||||
</dependency-->
|
||||
<dependency>
|
||||
<groupId>commons-pool</groupId>
|
||||
<artifactId>commons-pool</artifactId>
|
||||
|
|
@ -230,6 +210,31 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.2-beta-2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>create-executable-jar</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>
|
||||
jar-with-dependencies
|
||||
</descriptorRef>
|
||||
</descriptorRefs>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>se.scalablesolutions.akka.kernel.Kernel</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
|
|
@ -237,8 +242,8 @@
|
|||
<phase>install</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<copy file="target/akka-kernel-${akka.version}.jar"
|
||||
tofile="../lib/akka-kernel-${akka.version}.jar"/>
|
||||
<copy file="target/akka-kernel-${akka.version}-jar-with-dependencies.jar"
|
||||
tofile="../dist/akka-${akka.version}.jar"/>
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
|
|
@ -247,24 +252,6 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.dstovall</groupId>
|
||||
<artifactId>onejar-maven-plugin</artifactId>
|
||||
<version>1.4.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<configuration>
|
||||
<mainClass>se.scalablesolutions.akka.kernel.Kernel</mainClass>
|
||||
<onejarVersion>0.96</onejarVersion>
|
||||
<attachToBuild>true</attachToBuild>
|
||||
<classifier>onejar</classifier>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>one-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<resources>
|
||||
<resource>
|
||||
|
|
|
|||
BIN
lib/JSAP-2.1.jar
BIN
lib/JSAP-2.1.jar
Binary file not shown.
Binary file not shown.
BIN
lib/asm-3.1.jar
BIN
lib/asm-3.1.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,252 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*****************************************************************************************************************************
|
||||
AspectWerkz DTD 2.0
|
||||
|
||||
This DTD is provided as is. Some elements might have been deprecated since 0.7.4 (see comments)
|
||||
|
||||
This DTD might be incomplete - drop a mail on the user / dev mailing list
|
||||
|
||||
This DTD might clash with some of existing XML files since it imposes for some elements an order
|
||||
(see aspect: introductions then pointcuts then advices)
|
||||
|
||||
The "unspecified" order of the aspectwerkz childs might change to the one similar of aspects
|
||||
(transformation scope, introduction-def, advice-def, advices-def, abstract-aspect, aspect, package)
|
||||
|
||||
To use this DTD, start your defintion file with
|
||||
<!DOCTYPE aspectwerkz PUBLIC
|
||||
"-//AspectWerkz//DTD 2.0//EN"
|
||||
"http://aspectwerkz.codehaus.org/dtd/aspectwerkz_2_0.dtd">
|
||||
|
||||
You can also use the "aliasing DTD" that matchs always the latest release of AspectWerkz
|
||||
<!DOCTYPE aspectwerkz PUBLIC
|
||||
"-//AspectWerkz//DTD//EN"
|
||||
"http://aspectwerkz.codehaus.org/dtd/aspectwerkz2.dtd">
|
||||
|
||||
To not use this DTD, start your definition file with
|
||||
<?xml version="1.0"?>
|
||||
|
||||
Change from 1.0 to 2.0
|
||||
most of the changes implies non backward compatibility
|
||||
aspect/introduce element only allows to introduce interface. Use new <mixin element.
|
||||
introduce@deploymentModel is removed
|
||||
new system/mixin top level element
|
||||
deployment-scope
|
||||
advisable
|
||||
******************************************************************************************************************************-->
|
||||
|
||||
|
||||
<!--*****************************************************************************************************************************
|
||||
aspectwerkz
|
||||
*********************************************************************************************************************************
|
||||
Aspectwerkz defines the root element
|
||||
One system defines a namespace. Usually systems are used with several aop.xml file to isolate system
|
||||
following classloader hierarchies.
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT aspectwerkz (system*)>
|
||||
<!--*****************************************************************************************************************************
|
||||
system
|
||||
*********************************************************************************************************************************
|
||||
System allows isolation of AspectWerkz model
|
||||
For now we only support a single system.
|
||||
A system contains use-aspect syntax OR *-def *-ref syntax. The DTD cannot represent that.
|
||||
Attributes:
|
||||
id: unique name of the AspectWerkz system (replaces <aspectwerkz id=..> in 0.8.1 DTD)
|
||||
base-package: provides the global package prefix
|
||||
Notes:
|
||||
Due to package nesting, we cannot define an order here
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT system (
|
||||
(exclude | include | prepare | pointcut | deployment-scope | advisable)*,
|
||||
(aspect | mixin | package)*
|
||||
)>
|
||||
<!ATTLIST system
|
||||
id CDATA #REQUIRED
|
||||
base-package CDATA #IMPLIED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
exclude
|
||||
*********************************************************************************************************************************
|
||||
Declares one global package prefix. Any class in the scope cannot have aspects on it within this system
|
||||
Attributes:
|
||||
package: package prefix
|
||||
Note: package does not support pattern, excepted ending ".*" like "foo.*", which is equivalent to "foo."
|
||||
During weaving, a class is considered to be in the transformation scope with a classFQN.startsWith( ) test.
|
||||
Note: if a class is both in exclude and include, it is considered excluded.
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT exclude EMPTY>
|
||||
<!ATTLIST exclude
|
||||
package CDATA #REQUIRED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
include
|
||||
*********************************************************************************************************************************
|
||||
Declares one global package prefix. Any class not in the scope cannot have aspects on it within this system
|
||||
Attributes:
|
||||
package: package prefix
|
||||
Note: package does not support pattern, excepted ending ".*" like "foo.*", which is equivalent to "foo."
|
||||
During weaving, a class is considered to be in the transformation scope with a classFQN.startsWith( ) test.
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT include EMPTY>
|
||||
<!ATTLIST include
|
||||
package CDATA #REQUIRED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
prepare
|
||||
*********************************************************************************************************************************
|
||||
deprecated
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT prepare EMPTY>
|
||||
<!ATTLIST prepare
|
||||
package CDATA #REQUIRED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
package
|
||||
*********************************************************************************************************************************
|
||||
Declares a package prefix which applies to all FQN (aspect) and patterns (pointcuts, class)
|
||||
contained in the package element.
|
||||
TODO REMOVE or IMPL - Package elements can be nested to ease writing of package and subpackage
|
||||
TODO REMOVE or IMPL - (package@name "bar" nested in package@name "foo" means "foo.bar").
|
||||
Attributes:
|
||||
name: package prefix
|
||||
Notes:
|
||||
Does not support pattern, excepted ending ".*" like "foo.*" which is equivalent to "foo." and to "foo"
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT package (
|
||||
(aspect | mixin)*
|
||||
)>
|
||||
<!ATTLIST package
|
||||
name CDATA #REQUIRED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
aspect
|
||||
*********************************************************************************************************************************
|
||||
Declares aspect.
|
||||
Attributes:
|
||||
name: unique name of the aspect in the system. Defaults to FQN (see class)
|
||||
class: FQN of Aspect (can have metdata or not)
|
||||
container: FQN of AspectContainer, defaults to regular org.codehaus.aspectwerkz.aspect.DefaultAspectContainerStrategy
|
||||
deployment-model: aspect life cycle, defaults to perJVM
|
||||
valid values are: perJVM | perClass | perInstance | perthis(...pc expr) | pertarget(...pc expr)
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT aspect (
|
||||
param*,
|
||||
(pointcut | deployment-scope | advice | introduce)*
|
||||
)>
|
||||
<!ATTLIST aspect
|
||||
name CDATA #IMPLIED
|
||||
class CDATA #REQUIRED
|
||||
container CDATA #IMPLIED
|
||||
deployment-model CDATA #IMPLIED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
param
|
||||
*********************************************************************************************************************************
|
||||
Declares param for a aspect element
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT param EMPTY>
|
||||
<!ATTLIST param
|
||||
name CDATA #REQUIRED
|
||||
value CDATA #REQUIRED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
pointcut
|
||||
*********************************************************************************************************************************
|
||||
Attributes:
|
||||
name
|
||||
expression (required unless element data is used)
|
||||
Element data: equivalent to expression, but ignored if pointcut@expression is already specified
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT pointcut (#PCDATA)>
|
||||
<!ATTLIST pointcut
|
||||
name CDATA #REQUIRED
|
||||
expression CDATA #IMPLIED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
deployment-scope
|
||||
*********************************************************************************************************************************
|
||||
Attributes:
|
||||
name
|
||||
expression (required unless element data is used)
|
||||
Element data: equivalent to expression, but ignored if deployment-scope@expression is already specified
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT deployment-scope (#PCDATA)>
|
||||
<!ATTLIST deployment-scope
|
||||
name CDATA #REQUIRED
|
||||
expression CDATA #IMPLIED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
advisable
|
||||
*********************************************************************************************************************************
|
||||
Attributes:
|
||||
pointcut-type: the pointcut type: call, get, set, execution, handler, all, or any piped list like get|set
|
||||
expression: the pointcut expression, can be within/withincode/or more fine grained, as long as consistent with pointcut-type
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT advisable EMPTY>
|
||||
<!ATTLIST advisable
|
||||
pointcut-type CDATA #REQUIRED
|
||||
expression CDATA #REQUIRED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
advice
|
||||
*********************************************************************************************************************************
|
||||
Allow for advice declaration for use in several aspects
|
||||
Use nested bind-to element for multiple binding
|
||||
Attributes:
|
||||
name: method name implementing the advice
|
||||
type: advice type (around | before | after | after finally | after returning | after throwing), "after xxx(TYPE varName)"
|
||||
bind-to: pointcut expression
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT advice (
|
||||
bind-to*
|
||||
)>
|
||||
<!ATTLIST advice
|
||||
name CDATA #REQUIRED
|
||||
type CDATA #REQUIRED
|
||||
bind-to CDATA #IMPLIED
|
||||
attribute CDATA #IMPLIED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
bind-to
|
||||
*********************************************************************************************************************************
|
||||
Allow to bind an advice several times instead of using an OR expression
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT bind-to EMPTY>
|
||||
<!ATTLIST bind-to
|
||||
pointcut CDATA #REQUIRED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
introduce
|
||||
*********************************************************************************************************************************
|
||||
Attributes:
|
||||
class: interface introduction only
|
||||
bind-to: pointcut expression (only within/hasField/hasMethod makes sense)
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT introduce (
|
||||
bind-to*
|
||||
)>
|
||||
<!ATTLIST introduce
|
||||
class CDATA #REQUIRED
|
||||
bind-to CDATA #IMPLIED
|
||||
>
|
||||
<!--*****************************************************************************************************************************
|
||||
mixin
|
||||
*********************************************************************************************************************************
|
||||
Declares mixin.
|
||||
Attributes:
|
||||
class: FQN of mixin
|
||||
bind-to: pointcut where to bind the mixin, optional (can be specified in annotations)
|
||||
deployment-model: mixin life cycle, defaults to perInstance
|
||||
transient: true | false, defaults to false, to control mixin persistence alongside target instances
|
||||
factory: FQN of MixinFactory, implements org.codehaus.aspectwerkz.aspect.MixinFactory, defaults to regular DefaultMixinFactory
|
||||
TODO nested pc + package support ??
|
||||
Elements:
|
||||
param: name value pairs
|
||||
******************************************************************************************************************************-->
|
||||
<!ELEMENT mixin (param*)>
|
||||
<!ATTLIST mixin
|
||||
class CDATA #REQUIRED
|
||||
bind-to CDATA #IMPLIED
|
||||
deployment-model (perClass | perInstance | perJVM) #IMPLIED
|
||||
transient (false | true) #IMPLIED
|
||||
factory CDATA #IMPLIED
|
||||
>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libfb303.jar
BIN
lib/libfb303.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
pom.xml
2
pom.xml
|
|
@ -195,7 +195,7 @@
|
|||
<jvmArg>-Xmx1024m</jvmArg>
|
||||
</jvmArgs>
|
||||
<args>
|
||||
<!-- arg>-unchecked</arg -->
|
||||
<arg>-unchecked</arg>
|
||||
<arg>-deprecation</arg>
|
||||
<arg>-Xno-varargs-conversion</arg>
|
||||
</args>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue