git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/information-system/gCubeIS/Registry@1976 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7c0839a979
commit
20ae0c709d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue