AspectJ scripting agent

Scripting extension for AspectJ agent. Allow java bytecode instrumentation at jvm startup by using MVEL expression and execute code from maven artifacts

Лицензия

Лицензия

Категории

Категории

AspectJ Инструменты разработки Development Libraries
Группа

Группа

com.github.igor-suhorukov
Идентификатор

Идентификатор

aspectj-scripting
Последняя версия

Последняя версия

1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

AspectJ scripting agent
Scripting extension for AspectJ agent. Allow java bytecode instrumentation at jvm startup by using MVEL expression and execute code from maven artifacts
Ссылка на сайт

Ссылка на сайт

https://github.com/igor-suhorukov/aspectj-scripting
Система контроля версий

Система контроля версий

https://github.com/igor-suhorukov/aspectj-scripting.git

Скачать aspectj-scripting

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.igor-suhorukov/aspectj-scripting/ -->
<dependency>
    <groupId>com.github.igor-suhorukov</groupId>
    <artifactId>aspectj-scripting</artifactId>
    <version>1.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.igor-suhorukov/aspectj-scripting/
implementation 'com.github.igor-suhorukov:aspectj-scripting:1.3'
// https://jarcasting.com/artifacts/com.github.igor-suhorukov/aspectj-scripting/
implementation ("com.github.igor-suhorukov:aspectj-scripting:1.3")
'com.github.igor-suhorukov:aspectj-scripting:jar:1.3'
<dependency org="com.github.igor-suhorukov" name="aspectj-scripting" rev="1.3">
  <artifact name="aspectj-scripting" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.igor-suhorukov', module='aspectj-scripting', version='1.3')
)
libraryDependencies += "com.github.igor-suhorukov" % "aspectj-scripting" % "1.3"
[com.github.igor-suhorukov/aspectj-scripting "1.3"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.aspectj : aspectjweaver jar 1.8.7
org.aspectj : aspectjrt jar 1.8.7

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
commons-math : commons-math jar 1.2

Модули Проекта

Данный проект не имеет модулей.

AspectJ scripting agent

Scripting extension for AspectJ java agent. Allow java bytecode instrumentation at jvm startup by using MVEL expression and execute code from maven artifact repositories

Any AspectJ pointcut expression available with aspect types: AROUND, BEFORE, AFTER, AFTER_RETURNING, AFTER_THROWING

For example:

    {
      "name": "org.aspect.testing.Aspect6",
      "type": "AROUND",
      "pointcut": "execution(public static void main(String[]))",
      "init": {
        "expression": "System.out.println(\"Start jvm\")"
      },
      "dispose": {
        "expression": "System.out.println(\"Stop jvm\")"
      }
    },

Agent configuration:

  • org.aspectj.weaver.loadtime.configuration = config:file/http choose "config:file" or "config:http"
  • org.aspectj.weaver.loadtime.configuration.debug = true / false
  • org.aspectj.weaver.loadtime.configuration.filter = default - all aspects from configuration or any valid MVEL expression to filter aspects by "aspectByInstance/entry/key" value
  • repo.remote.url = default - maven central or http://... valid path to other repository
  • repo.local.path = path - local directory to store maven artifacts

Thanks Steve Reed for maven classloader

Версии библиотеки

Версия
1.3
1.2
1.1
1.0