Re: HELP DEPLOY
Ritu Sabharwal <[email protected]>
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Organization | HP |
| Message-ID | <[email protected]> |
Hello Rana, To create a new component from a Compound class, we have to call sfDeployComponentDescription(): The syntax of sfDeployComponentDescription is: sfDeployComponentDescription(name, parent, (ComponentDescription) your component description, context); Here parent paramter has be some compound component (itself or some other compound) or some processcompound (local or remote rootProcess). In each case, call sfDeployComponentDescription() with the appropriate component as parent paremeter from sfStart(). Please check Spawn example under examples/spawn for reference. Thanks, Ritu. rana dabbu wrote: >hello , > I have obtained the context through call to sfContext() in >ComponentDescriptionImpl. The problem is, I am getting >nullpointerexception when trying to use >null in place of parent in the call to sfDeployComponentDescription. >what is this parent parameter and how to obtain it. > >regards, >rana > > >------------------------------------------------------- >SF.Net email is sponsored by: Tell us your software development plans! >Take this survey and enter to win a one-year sub to SourceForge.net >Plus IDC's 2005 look-ahead and a copy of this survey >Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix >_______________________________________________ >Smartfrog-developer mailing list >Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >https://lists.sourceforge.net/lists/listinfo/smartfrog-developer > > ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix