From: <ju...@jb...> - 2005-07-25 14:07:29
|
we use dependency injection and it is done by the microkernel using the file jboss-portal.sar/META-INF/jboss-service.xml | <mbean | code="org.jboss.portal.server.impl.ServerImpl" | name="portal:service=Server" | xmbean-dd="org/jboss/portal/server/impl/ServerImpl.xml"> | <depends optional-attribute-name="RequestController" proxy-type="attribute">portal:controller=Request</depends> | <depends optional-attribute-name="ContainerRegistry" proxy-type="attribute">portal:service=ContainerRegistry</depends> | </mbean> | means, declare the service Server and inject the services controller request and container registry in it when you deploy it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886388#3886388 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886388 |