You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by sc...@apache.org on 2005/05/25 17:26:26 UTC
svn commit: r178456 - /incubator/apollo/trunk/src/templates/Home.vm
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: apollo-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: apollo-dev-help@ws.apache.org