The undocumented NAPI for direct API calls in Java can easily used in normal agents. You just need to add two jar files to your java agent:
These files can be found in <Notes>\osgi\shared\eclipse\plugins.
After importing, you do lot of funny things, f.e. opening a Session in Full Administration Mode, etc.
NotesSession nSession = new NotesSession(); nSession.setFullAdminMode( "SERVERNAME", true );
But don’t forget: These calls are native API calls and can easily crash your system.
P.S. Keep in mind that this article has been posted in the “Quick-n-Dirty” category.