Package org.jboss.as.ee.component
Class EEApplicationDescription
- java.lang.Object
-
- org.jboss.as.ee.component.EEApplicationDescription
-
public class EEApplicationDescription extends Object
- Author:
- John Bailey
-
-
Constructor Summary
Constructors Constructor Description EEApplicationDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComponent(ComponentDescription description, org.jboss.vfs.VirtualFile deploymentRoot)
Add a component to this application.void
addMessageDestination(String name, String resolvedName, org.jboss.vfs.VirtualFile deploymentRoot)
Add a message destination to the applicationSet<ViewDescription>
getComponents(String componentName, String viewName, org.jboss.vfs.VirtualFile deploymentRoot)
Get all views in the application that have the given name and view typeSet<ComponentDescription>
getComponents(String componentName, org.jboss.vfs.VirtualFile deploymentRoot)
Get all components in the application that have the given nameSet<ViewDescription>
getComponentsForViewName(String viewType, org.jboss.vfs.VirtualFile deploymentRoot)
Get all views that have the given type in the applicationSet<String>
resolveMessageDestination(String messageDestName, org.jboss.vfs.VirtualFile deploymentRoot)
Resolves a message destination name into a JNDI name
-
-
-
Method Detail
-
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
-
-