org.ow2.petals.tools.juddiAdmin.connection
Class ConnectRegistry

java.lang.Object
  extended by org.ow2.petals.tools.juddiAdmin.connection.ConnectRegistry

public class ConnectRegistry
extends java.lang.Object

This class permit to connect to a UDDI regitry and initialize the attributes which permit you to communicate with the registry.

Author:
EL JAI Mohammed

Method Summary
 javax.xml.registry.BusinessLifeCycleManager getBlm()
           
 javax.xml.registry.BusinessQueryManager getBqm()
           
static ConnectRegistry getConnection()
          Return the actual connection.
 void handleJAXRExceptions(javax.xml.registry.BulkResponse br)
          Handle all exceptions genarated by the BulkResponse object.
 void setBlm(javax.xml.registry.BusinessLifeCycleManager blm)
           
 void setBqm(javax.xml.registry.BusinessQueryManager bqm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnection

public static ConnectRegistry getConnection()
                                     throws javax.xml.registry.JAXRException,
                                            WebConsoleConfigException
Return the actual connection.

Parameters:
realPath - : the real path of the root directory
Returns:
a ConnectRegistry object
Throws:
javax.xml.registry.JAXRException
java.io.IOException
java.io.FileNotFoundException
WebConsoleConfigException

handleJAXRExceptions

public void handleJAXRExceptions(javax.xml.registry.BulkResponse br)
                          throws javax.xml.registry.JAXRException
Handle all exceptions genarated by the BulkResponse object.

Parameters:
br -
Throws:
javax.xml.registry.JAXRException

getBlm

public javax.xml.registry.BusinessLifeCycleManager getBlm()
Returns:
the blm

setBlm

public void setBlm(javax.xml.registry.BusinessLifeCycleManager blm)
Parameters:
blm - the blm to set

getBqm

public javax.xml.registry.BusinessQueryManager getBqm()
Returns:
the bqm

setBqm

public void setBqm(javax.xml.registry.BusinessQueryManager bqm)
Parameters:
bqm - the bqm to set


Copyright © 2005-2008 OW2 Consortium. All Rights Reserved.