AXL RADIUS Server API V3

com.theorem.radserver3.module
Class ClientModule

Object
  extended byClientModule

public class ClientModule
extends Object

Class to test and track modules for the client.

Modules are added features to the RADIUS client like EAPTLS authentication and other functionality.

Modules are constructed so that they're implementations need not be present but the server will still function. Access by the server components is achieved using consistent module naming of classes and packages.

e.g. EAPTLS is the name of the module.
The abstract class is EAPTLS.class in the .module package.
The package for the EAPTLS is module.eaptls. The implementation
is module.eaptls.EAPTLSImpl.class.
The field to register is eaptls.


Constructor Summary
ClientModule()
          Default constructor.
 
Method Summary
 Object getInstance(String moduleName, Object obj)
          Get an implementation of the module.
 boolean test(String moduleName)
          Tests to see that a class with the module name exists.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientModule

public ClientModule()
Default constructor.

Method Detail

getInstance

public Object getInstance(String moduleName,
                          Object obj)
                             throws RADIUSModuleException
Get an implementation of the module.

Parameters:
moduleName - Name of module to instantiate. The module name may either be relative to the module package or a fully qualified class path. In some cases the class loader doesn't provide the necessary package information so even where the class is relative to the module packet it will be necessary to use a full path to the class.
obj - Object argument for the constructor. May be null.
Returns:
the object or null if it couldn't be found.
Throws:
RADIUSServerException - if there is a problem instantiating the class. No exception is thrown if the class does not exist.
RADIUSModuleException

test

public boolean test(String moduleName)
Tests to see that a class with the module name exists.

Parameters:
moduleName - Name of module to instantiate. The module name may either be relative to the module package or a fully qualified class path. In some cases the class loader doesn't provide the necessary package information so even where the class is relative to the module packet it will be necessary to use a full path to the class.

AXL RADIUS Server API V3

Submit a bug report or feature request

Copyright 1998-2008 AXL Software. PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.