|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.ProviderImplementation
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.
See Also
Provider.instantiate(com.rsa.certj.CertJ)
Constructor Summary |
|
ProviderImplementation(CertJ certJ,
String name)
Constructs a |
Method Summary |
|
getName()
Returns the name of this |
|
toString()
Returns a |
|
void |
unregister()
This method is called when |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProviderImplementation(CertJ certJ, String name) throws InvalidParameterException
ProviderImplementation
object and
initializes it with name for certJ.Parameters
certJ | An instance of the | ||
name | A |
Throws
InvalidParameterException
- If
name is null
or certJ is
null
.Method Detail |
public String getName()
Provider
object.
Returns
String
that indicates the name of this
Provider
object.public void unregister()
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)
public String toString()
String that
describes
this provider. Each subclass of
this class should override this method.
Overrides
toString
in class Object
Returns
String
describing this object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |