  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - how to get LayoutService in a external webapp (not | - how to get LayoutService in a external webapp (not 2007-07-13 - By cpage
Back hi,
i have my own theme for my portlet. this theme is packaged in a webapp. (i override the tag region and make custom tag)
i would like to get the LayoutService in this web app, but i don't know how to retrieve it. i know that it's possible to inject services into portlet context with jboss -portlet.xml but how to achieve that with a simple web app ?
i tried:
[...]new initialContext.lookup("java:/portal/LayoutService") without succes, i can't see the mbean LayoutService in the jndi view.
i also tried to get the mbean with the platformMBeanServer, he find the bean with its name but i can't retrieve the instance.
i'm sure there is an easy way to do this but i don't find it :D
thanks for help regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4063893#4063893
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4063893 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |