You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jeremy Boynes <jb...@apache.org> on 2007/01/06 17:21:24 UTC

Re: svn commit: r493456 - /incubator/tuscany/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfoImpl.java

On Jan 6, 2007, at 4:31 AM, meerajk@apache.org wrote:
> +
> +        /*
> +         * TODO The next two should be derived here from the  
> profile name.
> +         * This will help in duplicating the code in individual  
> runtimes.
> +         * Discuss with Jeremy: Meeraj 06/01/07.
> +         */
>          this.profileDirectory = profileDirectory;
>          this.properties = properties;

I wanted to keep the impl as a simple bean to, well, keep things  
simple. Different hosts may want to derive these in different ways.

I agree that we don't want to duplicate the code for deriving them  
but would prefer to do that in an external helper class such as  
DirectoryHelper. Perhaps we should extend its role to be a general  
'StandaloneHelper' that provided helper methods for most things  
related to the standalone runtime environment.

--
Jeremy


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org