com.sun.xml.registry.client.admin
Class UserAdmin

java.lang.Object
  extended bycom.sun.xml.registry.client.admin.UserAdmin

public class UserAdmin
extends java.lang.Object


Constructor Summary
UserAdmin()
           
 
Method Summary
 javax.xml.registry.infomodel.User getUser()
          DOCUMENT ME!
 void init(java.lang.String serverUrl, java.lang.String alias)
          DOCUMENT ME!
static void main(java.lang.String[] args)
          DOCUMENT ME!
 void registerUser(java.lang.String personName)
          Register a new user
 void removeUser()
           
 void updateUser(java.lang.String personName)
          Update an existing User
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAdmin

public UserAdmin()
Method Detail

init

public void init(java.lang.String serverUrl,
                 java.lang.String alias)
          throws javax.xml.registry.JAXRException
DOCUMENT ME!

Parameters:
serverUrl - DOCUMENT ME!
alias - DOCUMENT ME!
Throws:
javax.xml.registry.JAXRException - DOCUMENT ME!

getUser

public javax.xml.registry.infomodel.User getUser()
                                          throws javax.xml.registry.JAXRException
DOCUMENT ME!

Returns:
null if User is not registered, else User object corresponding to Connection credentials
Throws:
javax.xml.registry.JAXRException - DOCUMENT ME!

registerUser

public void registerUser(java.lang.String personName)
                  throws javax.xml.registry.JAXRException
Register a new user

Parameters:
personName - DOCUMENT ME!
Throws:
javax.xml.registry.JAXRException - DOCUMENT ME!

updateUser

public void updateUser(java.lang.String personName)
                throws javax.xml.registry.JAXRException
Update an existing User

Parameters:
personName - DOCUMENT ME!
Throws:
javax.xml.registry.JAXRException - DOCUMENT ME!

removeUser

public void removeUser()
                throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
DOCUMENT ME!

Parameters:
args - DOCUMENT ME!
Throws:
java.lang.Exception - DOCUMENT ME!


Copyright © 2001-2004 OASIS. All Rights Reserved.