com.rsa.certj

Class ProviderImplementation

java.lang.Object
  |
  +--com.rsa.certj.ProviderImplementation
Direct Known Subclasses:
CertPathCommonImplementation, com.rsa.certj.provider.TransportImplementation

public abstract class ProviderImplementation
extends Object

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.

Copyright © RSA Security Inc., 1999-2001. All rights reserved.

See Also

Provider.instantiate(com.rsa.certj.CertJ)

Constructor Summary

ProviderImplementation(CertJ certJ, String name)

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

 

Method Summary

 String

getName()

Returns the name of this Provider object.

 String

toString()

Returns a String that describes this provider.

 void

unregister()

This method is called when CertJ calls unregisterService.

 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProviderImplementation

public ProviderImplementation(CertJ certJ,
                              String name)
                       throws InvalidParameterException
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.

Throws

InvalidParameterException - If name is null or certJ is null.
Method Detail

getName

public String getName()
Returns the name of this Provider object.

Returns

A String that indicates the name of this Provider object.

unregister

public void unregister()
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

CertJ.unregisterService(int, java.lang.String)

toString

public String toString()
Returns a String that describes this provider. Each subclass of this class should override this method.

Overrides

toString in class Object

Returns

A String describing this object.


RSA BSAFE ® Cert-J 2.1.1 001-047007-211-001-000