Changes since
the last release

com.ebay.sdk.pictureservice.eps
Class eBayPictureServiceFactory

java.lang.Object
  extended by com.ebay.sdk.pictureservice.eps.eBayPictureServiceFactory

public class eBayPictureServiceFactory
extends Object

Author:
cli This is the factory class for picture service. It hinds the implementation class eBayPictureService from the client, and gives the flexibility to change the class without affect the client.

Constructor Summary
eBayPictureServiceFactory()
           
 
Method Summary
static PictureService getPictureService(ApiContext apiContext)
          This function could return null, if the "init" function is not called before using this function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

eBayPictureServiceFactory

public eBayPictureServiceFactory()
Method Detail

getPictureService

public static PictureService getPictureService(ApiContext apiContext)
This function could return null, if the "init" function is not called before using this function. An exception could be throw in that case, but to force the user of this function to catch the exception every time use it could be less friedly than let the client make sure the init is always called at the beginning of his/her application.

Parameters:
apiContext - The ApiContext object for which you want to create PictureService for.
Returns:
picture service implemenation object. NULL if the initialization function is not called by the client application.

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.