This commit is contained in:
Manuele Simi 2008-06-30 23:06:49 +00:00
parent 7c0839a979
commit 20ae0c709d
1 changed files with 12 additions and 2 deletions

View File

@ -27,6 +27,17 @@ import org.gridforum.jgss.ExtendedGSSCredential;
*/
public class RegistryRegistrationTest {
/**
*
* @param args parameters:
* <ul>
* <li> resource file
* <li> resource type
* <li> caller scope
*
* @throws Exception if the registration fails
*/
public static void main(String[] args) throws Exception {
if (args.length != 3) {
@ -54,8 +65,7 @@ public class RegistryRegistrationTest {
RegistryFactoryPortType registryFactoryPortType = null;
try {
registryFactoryPortType = registryLocator
.getRegistryFactoryPortTypePort(factoryEPR);
registryFactoryPortType = registryLocator.getRegistryFactoryPortTypePort(factoryEPR);
} catch (Exception e) {
e.printStackTrace();
System.exit(1);