Author: scamp
Date: Wed May 25 08:26:25 2005
New Revision: 178456

URL: http://svn.apache.org/viewcvs?rev=178456&view=rev
Log: (empty)

Modified:
    incubator/apollo/trunk/src/templates/Home.vm

Modified: incubator/apollo/trunk/src/templates/Home.vm
URL: 
http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/templates/Home.vm?rev=178456&r1=178455&r2=178456&view=diff
==============================================================================
--- incubator/apollo/trunk/src/templates/Home.vm (original)
+++ incubator/apollo/trunk/src/templates/Home.vm Wed May 25 08:26:25 2005
@@ -87,7 +87,7 @@
            /*
             try
            {
-               ${capitalServiceName}Resource myresource = 
(${capitalServiceName}Resource)createInstance(key); //this will create the 
resource IF it is has default constructor
+               ${capitalServiceName}Resource myresource = 
(${capitalServiceName}Resource)createInstance(key); //this will create the 
resource IF it is has default constructor. It also calls init() on the resource.
                //the next line will create an EPR
                EndpointReference epr = 
getEndpointReference(resourceContext.getBaseURL(  ) + "/" + 
getServiceName().getLocalPart() , key, 
SPEC_NAMESPACE_SET.getAddressingNamespace());
                myresource.setEndpointReference(epr); //make sure to set the 
EPR on your new instance                                   



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to