FileDocCategorySizeDatePackage
ConvertServiceImpl.javaAPI DocExample2222Thu Mar 16 11:52:08 GMT 2000None

ConvertServiceImpl

public class ConvertServiceImpl extends Object implements ConvertService, Serializable

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Stringconvert(int i)

        return new Integer(i).toString();
    
public static voidmain(java.lang.String[] args)

        System.setSecurityManager(new SecurityManager());
        String[] groups = new String[] { "" };

        // Create the instance of the service; the JoinManager will
        // register it and renew its leases with the lookup service
        ConvertServiceImpl csi = (ConvertServiceImpl) new ConvertServiceImpl();
        JoinManager manager = new JoinManager(csi, null, groups,
                                              null, null, null);
        while (true)
            Thread.sleep(1000000);