public class EEApplicationDescription extends Object
Constructor and Description |
---|
EEApplicationDescription() |
Modifier and Type | Method and 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 application
|
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
|
Set<ComponentDescription> |
getComponents(String componentName,
org.jboss.vfs.VirtualFile deploymentRoot)
Get all components in the application that have the given name
|
Set<ViewDescription> |
getComponentsForViewName(String viewType,
org.jboss.vfs.VirtualFile deploymentRoot)
Get all views that have the given type in the application
|
Set<String> |
resolveMessageDestination(String messageDestName,
org.jboss.vfs.VirtualFile deploymentRoot)
Resolves a message destination name into a JNDI name
|
public void addComponent(ComponentDescription description, org.jboss.vfs.VirtualFile deploymentRoot)
description
- the component descriptiondeploymentRoot
- public void addMessageDestination(String name, String resolvedName, org.jboss.vfs.VirtualFile deploymentRoot)
name
- The message destination nameresolvedName
- The resolved JNDI namedeploymentRoot
- The deployment rootpublic Set<ViewDescription> getComponentsForViewName(String viewType, org.jboss.vfs.VirtualFile deploymentRoot)
viewType
- The view typepublic Set<ComponentDescription> getComponents(String componentName, org.jboss.vfs.VirtualFile deploymentRoot)
componentName
- The name of the componentdeploymentRoot
- The deployment root of the component doing the lookuppublic Set<ViewDescription> getComponents(String componentName, String viewName, org.jboss.vfs.VirtualFile deploymentRoot)
componentName
- The name of the componentviewName
- The view typedeploymentRoot
- The deployment root of the component doing the lookupCopyright © 2014 JBoss by Red Hat. All rights reserved.