amwebarsentitlementservice.client.factory
Class FixedProviderClientFactory

java.lang.Object
  |
  +--amwebarsentitlementservice.client.factory.ProtocolSpecificClientFactory
        |
        +--amwebarsentitlementservice.client.factory.FixedProviderClientFactory

public class FixedProviderClientFactory
extends ProtocolSpecificClientFactory


Constructor Summary
protected FixedProviderClientFactory()
           
 
Method Summary
protected  java.lang.Object clone()
          It isn't permited to clone the object: The clone method throws the CloneNotSupportedException.
 AMWebARSClient generate(java.lang.String protocol_id, java.lang.String provider_id)
           
static FixedProviderClientFactory getInstance()
          Returns the only instance of the FixedProviderClientFactory.
 void returnClient(AMWebARSClient client)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedProviderClientFactory

protected FixedProviderClientFactory()
Method Detail

getInstance

public static FixedProviderClientFactory getInstance()
Returns the only instance of the FixedProviderClientFactory.
Returns:
only instance of FixedProviderClientFactory

clone

protected java.lang.Object clone()
                          throws java.lang.CloneNotSupportedException
It isn't permited to clone the object: The clone method throws the CloneNotSupportedException.
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException -  

generate

public AMWebARSClient generate(java.lang.String protocol_id,
                               java.lang.String provider_id)
                        throws java.lang.CloneNotSupportedException
Overrides:
generate in class ProtocolSpecificClientFactory

returnClient

public void returnClient(AMWebARSClient client)
Overrides:
returnClient in class ProtocolSpecificClientFactory