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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...