RSA BSAFE CERT-J

Certificate Management Components for Java

Javadoc Search  Print

ProviderImplementation Class Reference

This class is a parent of all provider implementation classes.

A provider implementation class represents an object that handles all the SPI methods of a particular service type. An object of this class is returned when a corresponding provider object executes an instantiate method.

Inheritance diagram for ProviderImplementation:

CertPathCommon CertPathCommonImplementation TransportImplementation PKICommonImplementation List of all members.

Public Methods

 ProviderImplementation (CertJ certJ, String name) throws InvalidParameterException
 Constructs a ProviderImplementation object and initializes it with name for certJ. More...

String ProviderImplementation:: getName ()
 Returns the name of this Provider object. More...

void ProviderImplementation:: unregister ()
 This method is called when CertJ calls unregisterService. More...

String ProviderImplementation:: toString ()
 Returns a String that describes this provider. More...


Protected Attributes

CertJ ProviderImplementation:: certJ
 A CertJ that represents the Cert-J object for which this object is a provider.


Constructor & Destructor Documentation

ProviderImplementation::ProviderImplementation CertJ    certJ,
String    name
throws InvalidParameterException [inline];
 

Constructs a ProviderImplementation object and initializes it with name for certJ.

Parameters:
certJ An instance of the CertJ object.
name A String containing the name.

Exceptions:
InvalidParameterException If name is null or certJ is null.


Member Function Documentation

String ProviderImplementation::getName   [inline];
 

Returns the name of this Provider object.

Returns:
A String that indicates the name of this Provider object.

Reimplemented in TransportImplementation.

String ProviderImplementation::toString   [inline];
 

Returns a String that describes this provider. Each subclass of this class should override this method.

Returns:
A String describing this object.

void ProviderImplementation::unregister   [inline];
 

This method is called when CertJ calls unregisterService. This is the default method for all service providers. Any subclass of this class should override this method, if it must perform clean-up tasks before unregistering itself.

See also:
com.rsa.certj.CertJunregisterService(int, java.lang.String)

Reimplemented in TransportImplementation.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 001-047001-212-001-001 - 2.1.2