railo.runtime.cache.eh.remote.soap
Class SoapClient

java.lang.Object
  extended by railo.runtime.cache.eh.remote.soap.SoapClient

public class SoapClient
extends Object


Constructor Summary
SoapClient(URL endpoint)
           
 
Method Summary
 CacheEntry get(String cacheName, String key)
           
 Cache getCache(String cacheName)
           
 List getKeysWithExpiryCheck(String cacheName)
           
 CacheEntry getQuiet(String cacheName, String key)
           
static void main(String[] args)
           
 void put(String cacheName, Element element)
           
 void putQuiet(String cacheName, Element element)
           
 boolean remove(String cacheName, String key)
           
 boolean removeQuiet(String cacheName, String key)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapClient

public SoapClient(URL endpoint)
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

getCache

public Cache getCache(String cacheName)
               throws Exception
Throws:
Exception

getKeysWithExpiryCheck

public List getKeysWithExpiryCheck(String cacheName)
                            throws MalformedURLException,
                                   RemoteException,
                                   javax.xml.rpc.ServiceException
Throws:
MalformedURLException
RemoteException
javax.xml.rpc.ServiceException

get

public CacheEntry get(String cacheName,
                      String key)
               throws MalformedURLException,
                      RemoteException,
                      javax.xml.rpc.ServiceException
Throws:
MalformedURLException
RemoteException
javax.xml.rpc.ServiceException

getQuiet

public CacheEntry getQuiet(String cacheName,
                           String key)
                    throws MalformedURLException,
                           RemoteException,
                           javax.xml.rpc.ServiceException
Throws:
MalformedURLException
RemoteException
javax.xml.rpc.ServiceException

remove

public boolean remove(String cacheName,
                      String key)
               throws MalformedURLException,
                      RemoteException,
                      javax.xml.rpc.ServiceException
Throws:
MalformedURLException
RemoteException
javax.xml.rpc.ServiceException

removeQuiet

public boolean removeQuiet(String cacheName,
                           String key)
                    throws MalformedURLException,
                           RemoteException,
                           javax.xml.rpc.ServiceException
Throws:
MalformedURLException
RemoteException
javax.xml.rpc.ServiceException

put

public void put(String cacheName,
                Element element)
         throws MalformedURLException,
                RemoteException,
                javax.xml.rpc.ServiceException
Throws:
MalformedURLException
RemoteException
javax.xml.rpc.ServiceException

putQuiet

public void putQuiet(String cacheName,
                     Element element)
              throws MalformedURLException,
                     RemoteException,
                     javax.xml.rpc.ServiceException
Throws:
MalformedURLException
RemoteException
javax.xml.rpc.ServiceException


Copyright © 2012 Railo