org.apache.juddi.api.impl
Class API_010_PublisherTest

java.lang.Object
  extended by org.apache.juddi.api.impl.API_010_PublisherTest

public class API_010_PublisherTest
extends Object

This test is jUDDI specific, as the publisher methods are an extension to the UDDI api.

Author:
Jeff Faath, Kurt T Stam

Constructor Summary
API_010_PublisherTest()
           
 
Method Summary
protected  String authInfoJoe()
           
protected  String authInfoSam()
           
 void deleteJoePublisher()
          Removes Joe Publisher from the database, this will fail if there are child objects attached; think Services etc.
 void deleteSamSyndicator()
          Removes Sam Syndicator from the database, this will fail if there are child objects attached; think Services etc.
 boolean saveJoePublisher()
          Persists Joe Publisher to the database.
 boolean saveMaryPublisher()
          Persists Mary Publisher to the database.
 String saveSamSyndicator()
          Persists Sam Syndicator to the database.
static void startRegistry()
           
static void stopRegistry()
           
 void testJoePublisher()
           
 void testSamSyndicator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

API_010_PublisherTest

public API_010_PublisherTest()
Method Detail

startRegistry

public static void startRegistry()
                          throws org.apache.commons.configuration.ConfigurationException
Throws:
org.apache.commons.configuration.ConfigurationException

stopRegistry

public static void stopRegistry()
                         throws org.apache.commons.configuration.ConfigurationException
Throws:
org.apache.commons.configuration.ConfigurationException

testJoePublisher

public void testJoePublisher()

testSamSyndicator

public void testSamSyndicator()

saveJoePublisher

public boolean saveJoePublisher()
Persists Joe Publisher to the database.

Returns:
- true if the published did not exist already, - false in all other cases.

saveMaryPublisher

public boolean saveMaryPublisher()
Persists Mary Publisher to the database.

Returns:
- true if the published did not exist already, - false in all other cases.

deleteJoePublisher

public void deleteJoePublisher()
Removes Joe Publisher from the database, this will fail if there are child objects attached; think Services etc.


saveSamSyndicator

public String saveSamSyndicator()
Persists Sam Syndicator to the database.

Returns:
publisherId

deleteSamSyndicator

public void deleteSamSyndicator()
Removes Sam Syndicator from the database, this will fail if there are child objects attached; think Services etc.


authInfoJoe

protected String authInfoJoe()
                      throws RemoteException,
                             DispositionReportFaultMessage
Throws:
RemoteException
DispositionReportFaultMessage

authInfoSam

protected String authInfoSam()
                      throws RemoteException,
                             DispositionReportFaultMessage
Throws:
RemoteException
DispositionReportFaultMessage


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