/General-Java-agent

A general Java agent to do all the tricks for you (see java.lang.instrument package description). You can concentrate on the real work instead of thinking of classloading and configuration problems. For more information about Java agents see java.lang.instrument package documentation.

Primary LanguageJava

README - Agent
--------------


DESCRIPTION
-----------
Agent is a generic solution to greatly simplify the agent programming
(see java.lang.instrument package description for more information about agents in general).

The main idea is to have a totally separated environment for running agents. This means that
the agent uses its own namespace (i.e. class loader) for its classes. With Agent a programmer
can avoid .jar file version conflicts. That's why the Agent configuration file has its own
classpath element. Another advantage is that the XML configuration file is always similar
for different agents. And yet one more advantage is that the programmer does not need to care
about the manifest attributes mentioned java.lang.instrument package description. They are
already handled for the programmer.

REQUIREMENTS
------------
- Java 1.5 or later


LICENSE
-------
MIT License

Copyright (c) 2010 Hapi, http://www.hapiware.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.