correctly using sfProcessClass
"Hal Hildebrand" <[email protected]>
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Message-ID | <[email protected]> |
I need to wrap the Smartfrog system due to complicating class loader issues.
I believe I can handle this simply if the new process spawned calls my
main() instead of the SFSystem.main(). I found the "sfProcessClass", but
I'm wondering how to override it, as it's an attribute of the
ProcessCompound.
For example, in my test, I can do:
sfConfig extends Compound {
sfProcessClass "oracle.foo.MyStartupWrapper";
sfProcessName "bar";
MyTest extends Foo {
config-file "some/path";
}
}
The sfProcessName will trigger the new process. However, the sfProcessClass
in this scope does nothing to call the wrapper.
I know this is a scoping issue, but I'm clueless as to how to express this.
Sorry if this a silly question...
Thanks in advance....
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005