|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webct.platform.sdk.filemanager.client.FileManagerSDKFactory
public class FileManagerSDKFactory
Used to create a client-side instance of
FileManagerService. This may
be an instance that used SOAP, or it may be an instance
that communicates directly with the EJB via RMI (note that
two methods of the interface,
FileManagerService.upload(com.webct.platform.sdk.context.gen.SessionVO, java.lang.String, com.webct.platform.sdk.filemanager.FileProperty[], javax.activation.DataHandler, boolean, boolean)
and
FileManagerService.getFileContent(com.webct.platform.sdk.context.gen.SessionVO, java.lang.String)
will not operate via RMI).
| Field Summary | |
|---|---|
static java.lang.String |
JNDI_NAME
JNDI name of home interface for the file manager service. |
| Method Summary | |
|---|---|
static FileManagerService |
getEJBInstance()
This method may be used only if the application is running on the server side. |
static FileManagerService |
getEJBInstance(java.lang.String factoryClass,
java.lang.String url)
Returns FileManagerService by performing an EJB lookup |
static FileManagerService |
getSOAPInstance(java.net.URL url)
Returns FileManagerService, which can be used to
access the file manager service through SOAP |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String JNDI_NAME
FileManagerSDKFactory
| Method Detail |
|---|
public static FileManagerService getSOAPInstance(java.net.URL url)
throws java.rmi.RemoteException
FileManagerSDKFactoryFileManagerService, which can be used to
access the file manager service through SOAP
url - URL to the Calendar SDK Web service for example http://localhost:8080/webct/axis/FileManager
java.rmi.RemoteException - if there is a system error
public static FileManagerService getEJBInstance(java.lang.String factoryClass,
java.lang.String url)
throws java.rmi.RemoteException
FileManagerSDKFactoryFileManagerService by performing an EJB lookup
factoryClass - JNDI container factory class nameurl - JNDI provider URL
java.rmi.RemoteException - if there is a system error
public static FileManagerService getEJBInstance()
throws java.rmi.RemoteException
FileManagerSDKFactoryFileManagerService by performing an EJB lookup
java.rmi.RemoteException - if there is a system error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||