org.ow2.petals.registry.core.transport.cxf
Class CXFMessageSender

java.lang.Object
  extended by org.ow2.petals.registry.core.transport.cxf.CXFMessageSender
All Implemented Interfaces:
org.ow2.petals.registry.api.RemoteOperations, org.ow2.petals.registry.api.transport.MessageSender

public class CXFMessageSender
extends java.lang.Object
implements org.ow2.petals.registry.api.transport.MessageSender

Author:
Christophe HAMERLING - eBM WebSourcing, Charles CASADEI - eBM WebSourcing

Constructor Summary
CXFMessageSender()
           
 
Method Summary
 boolean delete(java.lang.String path, org.ow2.petals.registry.api.Information information)
           
 org.ow2.petals.registry.api.Resource get(java.lang.String path, org.ow2.petals.registry.api.Information information)
           
protected  java.lang.String getAddress()
           
 java.util.List<org.ow2.petals.registry.api.Resource> getAll(java.lang.String path, org.ow2.petals.registry.api.Information information)
           
protected  org.ow2.petals.registry.api.ws.service.RegistryService getRegistryClient(java.lang.String address)
           
protected  org.ow2.petals.registry.api.ws.service.RegistryService getRegistryClient(java.lang.String address, long timeout)
           
 java.lang.String getType()
           
 java.net.URI getURI()
           
 boolean put(java.lang.String path, org.ow2.petals.registry.api.Resource resource, org.ow2.petals.registry.api.Information information)
           
 java.util.List<org.ow2.petals.registry.api.Resource> query(org.ow2.petals.registry.api.Query query, org.ow2.petals.registry.api.Information info)
           
 void setURI(java.net.URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CXFMessageSender

public CXFMessageSender()
Method Detail

getRegistryClient

protected org.ow2.petals.registry.api.ws.service.RegistryService getRegistryClient(java.lang.String address)

getRegistryClient

protected org.ow2.petals.registry.api.ws.service.RegistryService getRegistryClient(java.lang.String address,
                                                                                   long timeout)

getAddress

protected java.lang.String getAddress()

getType

public java.lang.String getType()
Specified by:
getType in interface org.ow2.petals.registry.api.transport.MessageSender

getURI

public java.net.URI getURI()
Specified by:
getURI in interface org.ow2.petals.registry.api.transport.MessageSender

setURI

public void setURI(java.net.URI uri)
Specified by:
setURI in interface org.ow2.petals.registry.api.transport.MessageSender

delete

public boolean delete(java.lang.String path,
                      org.ow2.petals.registry.api.Information information)
               throws org.ow2.petals.registry.api.exception.RegistryException
Specified by:
delete in interface org.ow2.petals.registry.api.RemoteOperations
Throws:
org.ow2.petals.registry.api.exception.RegistryException

get

public org.ow2.petals.registry.api.Resource get(java.lang.String path,
                                                org.ow2.petals.registry.api.Information information)
                                         throws org.ow2.petals.registry.api.exception.RegistryException
Specified by:
get in interface org.ow2.petals.registry.api.RemoteOperations
Throws:
org.ow2.petals.registry.api.exception.RegistryException

put

public boolean put(java.lang.String path,
                   org.ow2.petals.registry.api.Resource resource,
                   org.ow2.petals.registry.api.Information information)
            throws org.ow2.petals.registry.api.exception.RegistryException
Specified by:
put in interface org.ow2.petals.registry.api.RemoteOperations
Throws:
org.ow2.petals.registry.api.exception.RegistryException

getAll

public java.util.List<org.ow2.petals.registry.api.Resource> getAll(java.lang.String path,
                                                                   org.ow2.petals.registry.api.Information information)
                                                            throws org.ow2.petals.registry.api.exception.RegistryException
Specified by:
getAll in interface org.ow2.petals.registry.api.RemoteOperations
Throws:
org.ow2.petals.registry.api.exception.RegistryException

query

public java.util.List<org.ow2.petals.registry.api.Resource> query(org.ow2.petals.registry.api.Query query,
                                                                  org.ow2.petals.registry.api.Information info)
                                                           throws org.ow2.petals.registry.api.exception.RegistryException
Specified by:
query in interface org.ow2.petals.registry.api.RemoteOperations
Throws:
org.ow2.petals.registry.api.exception.RegistryException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.