JTR 5.0 API Documentation

jtr.remote.cl
Interface JtrRmiClassLoaderServer

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
JtrRmiClassLoaderServerImpl

public interface JtrRmiClassLoaderServer
extends java.rmi.Remote

This interface defines the contract a JTR server class-loader must adhere to.

Since:
4.0
Version:
5.0
Author:
frusso

Method Summary
 java.lang.Byte[] getBytecode(java.lang.String fqn)
          Returns, if found, the bytecode associated with the provided fqn, null otherwise.
 java.lang.Byte[] getResource(java.lang.String name)
          Returns, if found, the byte array of the required resource, null otherwise.
 

Method Detail

getBytecode

java.lang.Byte[] getBytecode(java.lang.String fqn)
                             throws java.rmi.RemoteException
Returns, if found, the bytecode associated with the provided fqn, null otherwise.

Parameters:
fqn - The fqn of the required class
Returns:
The class' bytecode if found, null otherwise
Throws:
java.rmi.RemoteException

getResource

java.lang.Byte[] getResource(java.lang.String name)
                             throws java.rmi.RemoteException
Returns, if found, the byte array of the required resource, null otherwise.

Parameters:
name - The required resource name
Returns:
The byte array of the resource if found, null otherwise
Throws:
java.rmi.RemoteException

The JTR Project is licensed under GPL version 2