Hi,
Is it possible to use a block from a Java-class that is not a block?
For example, take Sevak that runs Tomcat/Jetty as block; Given a web
application that is deployed in Sevak. Or take another Java class that
has access to a service manager but is not by itself a block declared in
assembly.xml. How can such a Java class access a block by its ROLE?
For Sevak it is even worse I guess because the webapp has no access to a
service manager at all?
What I would try is using ServiceManager.lookup(Service.ROLE) from the
other Java class.
Thanks for any help,
Peter
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: [Phoenix] using blocks from non-block classes Peter Klotz
- Re: [Phoenix] using blocks from non-block classes Ulrich Mayring
- Re: [Phoenix] using blocks from non-block classes Paul Hammant
- Re: [Phoenix] using blocks from non-block clas... Ulrich Mayring
- Re: [Phoenix] using blocks from non-block classes Paul Hammant
- Re: [Phoenix] using blocks from non-block classes Peter Klotz
- Re: [Phoenix] using blocks from non-block clas... Paul Hammant