Implementing IHelloFacet

We know the client is going to use the IHelloFacet, because that's part of what we offer, so we need to provide an implementation. Here it is, a private class within our netlet:


    /** A simple implementation of IHelloFacet
     */
    private class HelloFacet implements IHelloFacet
    {
        public String getMessage() 
        {
            return "Hello, world";
        }
    }

Nik Silver 2002-03-09