Class EEApplicationDescription

java.lang.Object
org.jboss.as.ee.component.EEApplicationDescription

public class EEApplicationDescription extends Object
Author:
John Bailey
  • Constructor Details

    • EEApplicationDescription

      public EEApplicationDescription()
  • Method Details

    • addComponent

      public void addComponent(ComponentDescription description, org.jboss.vfs.VirtualFile deploymentRoot)
      Add a component to this application.
      Parameters:
      description - the component description
      deploymentRoot -
    • addMessageDestination

      public void addMessageDestination(String name, String resolvedName, org.jboss.vfs.VirtualFile deploymentRoot)
      Add a message destination to the application
      Parameters:
      name - The message destination name
      resolvedName - The resolved JNDI name
      deploymentRoot - The deployment root
    • getComponentsForViewName

      public Set<ViewDescription> getComponentsForViewName(String viewType, org.jboss.vfs.VirtualFile deploymentRoot)
      Get all views that have the given type in the application
      Parameters:
      viewType - The view type
      Returns:
      All views of the given type
    • getComponents

      public Set<ComponentDescription> getComponents(String componentName, org.jboss.vfs.VirtualFile deploymentRoot)
      Get all components in the application that have the given name
      Parameters:
      componentName - The name of the component
      deploymentRoot - The deployment root of the component doing the lookup
      Returns:
      A set of all views for the given component name and type
    • getComponents

      public Set<ViewDescription> getComponents(String componentName, String viewName, org.jboss.vfs.VirtualFile deploymentRoot)
      Get all views in the application that have the given name and view type
      Parameters:
      componentName - The name of the component
      viewName - The view type
      deploymentRoot - The deployment root of the component doing the lookup
      Returns:
      A set of all views for the given component name and type
    • resolveMessageDestination

      public Set<String> resolveMessageDestination(String messageDestName, org.jboss.vfs.VirtualFile deploymentRoot)
      Resolves a message destination name into a JNDI name