Package org.jboss.as.ee.component
Class EEApplicationDescription
java.lang.Object
org.jboss.as.ee.component.EEApplicationDescription
- Author:
- John Bailey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(ComponentDescription description, org.jboss.vfs.VirtualFile deploymentRoot) Add a component to this application.voidaddMessageDestination(String name, String resolvedName, org.jboss.vfs.VirtualFile deploymentRoot) Add a message destination to the applicationgetComponents(String componentName, String viewName, org.jboss.vfs.VirtualFile deploymentRoot) Get all views in the application that have the given name and view typegetComponents(String componentName, org.jboss.vfs.VirtualFile deploymentRoot) Get all components in the application that have the given namegetComponentsForViewName(String viewType, org.jboss.vfs.VirtualFile deploymentRoot) Get all views that have the given type in the applicationresolveMessageDestination(String messageDestName, org.jboss.vfs.VirtualFile deploymentRoot) Resolves a message destination name into a JNDI name
-
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 descriptiondeploymentRoot-
-
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 nameresolvedName- The resolved JNDI namedeploymentRoot- 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 componentdeploymentRoot- 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 componentviewName- The view typedeploymentRoot- 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
-