public class Provider extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Provider.Type
This inner class defines the Provider type.
|
Constructor and Description |
---|
Provider(Provider.Type type,
String protocol,
String classname,
String vendor,
String version)
Create a new provider of the specified type for the specified
protocol.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns name of the class that implements the protocol
|
String |
getProtocol()
Returns the protocol supported by this Provider
|
Provider.Type |
getType()
Returns the type of this Provider
|
String |
getVendor()
Returns name of vendor associated with this implementation or null
|
String |
getVersion()
Returns version of this implementation or null if no version
|
String |
toString()
Overrides Object.toString()
|
public Provider(Provider.Type type, String protocol, String classname, String vendor, String version)
type
- Type.STORE or Type.TRANSPORTprotocol
- valid protocol for the typeclassname
- class name that implements this protocolvendor
- optional string identifying the vendor (may be null)version
- optional implementation version string (may be null)public Provider.Type getType()
public String getProtocol()
public String getClassName()
public String getVendor()
public String getVersion()
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.