|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.Service
This class represents a service that consists of one or more
providers of the same type. Certain Cert-J APIs, such as database
APIs, are defined by a particular service. To obtain an
object of a service, use the bindService
method
of the CertJ
class.
See Also
CertJ.bindService(int, java.lang.String)
Method Summary |
|
static Service |
getInstance(CertJ certJ,
int type)
Creates and initializes a |
String[] |
listProviderNames()
Returns an array of |
toString()
Returns a |
|
void |
unbind()
Does nothing. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static Service getInstance(CertJ certJ, int type)
Service
object of type
type for certJ.Parameters
certJ | A | ||
type | An |
public String[] listProviderNames()
String
objects that contains
the names of the bound providers.
Returns
String
array that contains the names of
the providers bound to this object.public String toString()
String
describing the service providers
of this Service
object.
Overrides
toString
in class Object
Returns
String
that describes the service providers.public void unbind()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |