[jboss-dev-forums] [Design of EJB 3.0] - Re: WS EJB invocation

scott.stark@jboss.org do-not-reply at jboss.com
Thu May 1 09:08:01 EDT 2008


The following has been added and will be in the jboss-metadata-1.0.0.Beta11 release. calling determineContainerName() is what you would do to reliably get the name the container was registered under.


  | Added:
  | 
  |    /**
  |     * Get the kernel name for the ejb container. This is the managed property
  |     * version admin tools may use to control the name. Generally its not set
  |     * and the server will set the name via the generatedContainerName
  |     * non-managed property.
  |     *
  |     * @see #setGeneratedContainerName(String)
  |     * @return containerName property value.
  |     */
  |    public String getContainerName()
  |    public void setContainerName(String containerName)
  | 
  |    /**
  |     * Get the generated kernel name for the ejb container. This is the
  |     * non-managed property version that the server would use to set the name
  |     * it generated when no containerName property existed.
  |     *
  |     * @see #getContainerName()
  |     * @return generatedContainerName property value.
  |     */
  |    @XmlTransient
  |    public String getGeneratedContainerName()
  |    public void setGeneratedContainerName(String containerName)
  | 
  |    /**
  |     * Get the kernel name for the ejb container. This is either the
  |     * containerName managed property, or a runtime generated name set via
  |     * the non-managed generatedContainerName property.
  |     * @return the kernel name for the ejb container
  |     */
  |    public String determineContainerName()
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148103#4148103

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148103



More information about the jboss-dev-forums mailing list