org.apache.juddi.v3.client.config
Class UDDIClerk

java.lang.Object
  extended by org.apache.juddi.v3.client.config.UDDIClerk
All Implemented Interfaces:
Serializable

public class UDDIClerk
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
 class UDDIClerk.WSDL
           
 
Field Summary
protected  String name
           
protected  String password
           
protected  String publisher
           
protected  UDDINode uddiNode
           
 
Constructor Summary
UDDIClerk()
           
UDDIClerk(Clerk clerk)
           
 
Method Summary
 BusinessEntity findBusiness(String businessKey)
           
 BusinessEntity findBusiness(String businessKey, Node node)
          Looks up the BusinessEntiry in the registry, will return null if is not found.
 RelatedBusinessesList findRelatedBusinesses(String businessKey, Node node)
          Looks up the BusinessEntiry in the registry, will return null if is not found.
 BusinessService findService(String serviceKey)
           
 BusinessService findService(String serviceKey, Node node)
           
 BindingTemplate findServiceBinding(String bindingKey)
           
 BindingTemplate findServiceBinding(String bindingKey, Node node)
           
 TModelList findTModel(FindTModel findTModel)
           
 TModelList findTModel(FindTModel findTModel, Node node)
           
 Clerk getApiClerk()
           
 String[] getClassWithAnnotations()
           
 String getManagerName()
           
 String getName()
           
 String getPassword()
           
 String getPublisher()
           
 Map<String,Properties> getServices()
           
 TModelDetail getTModelDetail(GetTModelDetail getTModelDetail)
           
 TModelDetail getTModelDetail(GetTModelDetail getTModelDetail, Node node)
           
 TModelDetail getTModelDetail(String tModelKey)
           
 UDDINode getUDDINode()
           
 UDDIClerk.WSDL[] getWsdls()
           
 BindingTemplate register(BindingTemplate binding)
          Register a BindingTemplate, using the node of current clerk ('this').
 BindingTemplate register(BindingTemplate binding, Node node)
          Register a BindingTemplate.
 BusinessEntity register(BusinessEntity business)
           
 BusinessEntity register(BusinessEntity business, Node node)
          Register a service.
 BusinessService register(BusinessService service)
          Register a service, using the node of current clerk ('this').
 BusinessService register(BusinessService service, Node node)
          Register a service.
 Subscription register(Subscription subscription)
           
 Subscription register(Subscription subscription, Node node)
          Register a Subscription.
 TModelDetail register(TModel tModel)
          Register a tModel, using the node of current clerk ('this').
 TModelDetail register(TModel tModel, Node node)
          Register a tModel.
 void registerWsdls()
           
 ClerkDetail saveClerk(UDDIClerk senderClerk)
           
 NodeDetail saveNode(Node node)
           
 void setClassWithAnnotations(String[] classWithAnnotations)
           
 void setManagerName(String managerName)
           
 void setName(String name)
           
 void setPassword(String password)
           
 void setPublisher(String publisher)
           
 void setServices(Map<String,Properties> services)
           
 void setUDDINode(UDDINode uddiNode)
           
 void setWsdls(UDDIClerk.WSDL[] wsdls)
           
 void unRegisterBinding(String bindingKey)
           
 void unRegisterBinding(String bindingKey, Node node)
          Unregisters the BindingTemplate with specified bindingKey.
 void unRegisterBusiness(String businessKey)
           
 void unRegisterBusiness(String businessKey, Node node)
          Unregisters the service with specified serviceKey.
 void unRegisterService(String serviceKey)
           
 void unRegisterService(String serviceKey, Node node)
          Unregisters the service with specified serviceKey.
 void unRegisterSubscription(String subscriptionKey)
           
 void unRegisterSubscription(String subscriptionKey, Node node)
           
 void unRegisterTModel(String tModelKey)
           
 void unRegisterTModel(String tModelKey, Node node)
          Unregisters the BindingTemplate with specified bindingKey.
 void unRegisterWsdls()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

uddiNode

protected UDDINode uddiNode

publisher

protected String publisher

password

protected String password
Constructor Detail

UDDIClerk

public UDDIClerk()

UDDIClerk

public UDDIClerk(Clerk clerk)
Method Detail

getClassWithAnnotations

public String[] getClassWithAnnotations()

setClassWithAnnotations

public void setClassWithAnnotations(String[] classWithAnnotations)

getServices

public Map<String,Properties> getServices()

setServices

public void setServices(Map<String,Properties> services)

getManagerName

public String getManagerName()

setManagerName

public void setManagerName(String managerName)

registerWsdls

public void registerWsdls()

unRegisterWsdls

public void unRegisterWsdls()

register

public Subscription register(Subscription subscription)

register

public Subscription register(Subscription subscription,
                             Node node)
Register a Subscription.


register

public TModelDetail register(TModel tModel)
Register a tModel, using the node of current clerk ('this').

Parameters:
tModel -
Returns:
the TModelDetail of the newly registered TModel

register

public TModelDetail register(TModel tModel,
                             Node node)
Register a tModel.


register

public BindingTemplate register(BindingTemplate binding)
Register a BindingTemplate, using the node of current clerk ('this').


register

public BindingTemplate register(BindingTemplate binding,
                                Node node)
Register a BindingTemplate.


register

public BusinessService register(BusinessService service)
Register a service, using the node of current clerk ('this').


register

public BusinessService register(BusinessService service,
                                Node node)
Register a service.


register

public BusinessEntity register(BusinessEntity business)

register

public BusinessEntity register(BusinessEntity business,
                               Node node)
Register a service. returns null if not successful


unRegisterBusiness

public void unRegisterBusiness(String businessKey)

unRegisterBusiness

public void unRegisterBusiness(String businessKey,
                               Node node)
Unregisters the service with specified serviceKey.

Parameters:
service -

unRegisterService

public void unRegisterService(String serviceKey)

unRegisterService

public void unRegisterService(String serviceKey,
                              Node node)
Unregisters the service with specified serviceKey.

Parameters:
service -

unRegisterBinding

public void unRegisterBinding(String bindingKey)

unRegisterBinding

public void unRegisterBinding(String bindingKey,
                              Node node)
Unregisters the BindingTemplate with specified bindingKey.

Parameters:
bindingTemplate -
node -

unRegisterTModel

public void unRegisterTModel(String tModelKey)

unRegisterTModel

public void unRegisterTModel(String tModelKey,
                             Node node)
Unregisters the BindingTemplate with specified bindingKey.

Parameters:
bindingTemplate -
node -

unRegisterSubscription

public void unRegisterSubscription(String subscriptionKey)

unRegisterSubscription

public void unRegisterSubscription(String subscriptionKey,
                                   Node node)

findTModel

public TModelList findTModel(FindTModel findTModel)
                      throws RemoteException,
                             org.apache.commons.configuration.ConfigurationException,
                             TransportException
Throws:
RemoteException
org.apache.commons.configuration.ConfigurationException
TransportException

findTModel

public TModelList findTModel(FindTModel findTModel,
                             Node node)
                      throws RemoteException,
                             TransportException,
                             org.apache.commons.configuration.ConfigurationException
Throws:
RemoteException
TransportException
org.apache.commons.configuration.ConfigurationException

getTModelDetail

public TModelDetail getTModelDetail(String tModelKey)
                             throws RemoteException,
                                    org.apache.commons.configuration.ConfigurationException,
                                    TransportException
Throws:
RemoteException
org.apache.commons.configuration.ConfigurationException
TransportException

getTModelDetail

public TModelDetail getTModelDetail(GetTModelDetail getTModelDetail)
                             throws RemoteException,
                                    org.apache.commons.configuration.ConfigurationException,
                                    TransportException
Throws:
RemoteException
org.apache.commons.configuration.ConfigurationException
TransportException

getTModelDetail

public TModelDetail getTModelDetail(GetTModelDetail getTModelDetail,
                                    Node node)
                             throws RemoteException,
                                    TransportException,
                                    org.apache.commons.configuration.ConfigurationException
Throws:
RemoteException
TransportException
org.apache.commons.configuration.ConfigurationException

findService

public BusinessService findService(String serviceKey)
                            throws RemoteException,
                                   TransportException,
                                   org.apache.commons.configuration.ConfigurationException
Throws:
RemoteException
TransportException
org.apache.commons.configuration.ConfigurationException

findService

public BusinessService findService(String serviceKey,
                                   Node node)
                            throws RemoteException,
                                   TransportException,
                                   org.apache.commons.configuration.ConfigurationException
Throws:
RemoteException
TransportException
org.apache.commons.configuration.ConfigurationException

findServiceBinding

public BindingTemplate findServiceBinding(String bindingKey)
                                   throws DispositionReportFaultMessage,
                                          RemoteException,
                                          TransportException,
                                          org.apache.commons.configuration.ConfigurationException
Throws:
DispositionReportFaultMessage
RemoteException
TransportException
org.apache.commons.configuration.ConfigurationException

findServiceBinding

public BindingTemplate findServiceBinding(String bindingKey,
                                          Node node)
                                   throws DispositionReportFaultMessage,
                                          RemoteException,
                                          TransportException,
                                          org.apache.commons.configuration.ConfigurationException
Throws:
DispositionReportFaultMessage
RemoteException
TransportException
org.apache.commons.configuration.ConfigurationException

findBusiness

public BusinessEntity findBusiness(String businessKey)
                            throws RemoteException,
                                   TransportException,
                                   org.apache.commons.configuration.ConfigurationException
Throws:
RemoteException
TransportException
org.apache.commons.configuration.ConfigurationException

findBusiness

public BusinessEntity findBusiness(String businessKey,
                                   Node node)
                            throws RemoteException,
                                   TransportException,
                                   org.apache.commons.configuration.ConfigurationException
Looks up the BusinessEntiry in the registry, will return null if is not found.

Parameters:
businessKey - - the key we are looking for
node - - the node which is going to be queried
Returns:
BusinessEntity is found, or null if not found.
Throws:
RemoteException
TransportException
org.apache.commons.configuration.ConfigurationException

findRelatedBusinesses

public RelatedBusinessesList findRelatedBusinesses(String businessKey,
                                                   Node node)
                                            throws RemoteException,
                                                   TransportException,
                                                   org.apache.commons.configuration.ConfigurationException
Looks up the BusinessEntiry in the registry, will return null if is not found.

Parameters:
businessKey - - the key we are looking for
node - - the node which is going to be queried
Returns:
BusinessEntity is found, or null if not found.
Throws:
RemoteException
TransportException
org.apache.commons.configuration.ConfigurationException

saveNode

public NodeDetail saveNode(Node node)

saveClerk

public ClerkDetail saveClerk(UDDIClerk senderClerk)

getApiClerk

public Clerk getApiClerk()

getUDDINode

public UDDINode getUDDINode()

getName

public String getName()

setName

public void setName(String name)

setUDDINode

public void setUDDINode(UDDINode uddiNode)

getPublisher

public String getPublisher()

setPublisher

public void setPublisher(String publisher)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getWsdls

public UDDIClerk.WSDL[] getWsdls()

setWsdls

public void setWsdls(UDDIClerk.WSDL[] wsdls)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.