|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagementView
The management view plugin spi for querying profiles for the deployment management object interface roots.
Method Summary | |
---|---|
void |
applyTemplate(String deploymentBaseName,
org.jboss.managed.api.DeploymentTemplateInfo info)
Create a deployment based on the given DeploymentTemplateInfo. |
org.jboss.managed.api.ManagedComponent |
getComponent(String name,
org.jboss.managed.api.ComponentType type)
Obtain the ManagedComponent for the given name/type |
Set<org.jboss.managed.api.ManagedComponent> |
getComponentsForType(org.jboss.managed.api.ComponentType type)
Get the components of a type. |
Set<org.jboss.managed.api.ComponentType> |
getComponentTypes()
Get a set of the component types in use in the profiles |
org.jboss.managed.api.ManagedDeployment |
getDeployment(String name)
Get a deployment. |
Set<String> |
getDeploymentNames()
Get the names of all deployments. |
Set<String> |
getDeploymentNamesForType(String type)
Get the names of the deployment that have the given deployment type. |
Set<org.jboss.managed.api.ManagedDeployment> |
getDeploymentsForType(String type)
Get the deployments of a type. |
Set<org.jboss.managed.api.ManagedComponent> |
getMatchingComponents(String name,
org.jboss.managed.api.ComponentType type,
NameMatcher<org.jboss.managed.api.ManagedComponent> matcher)
Obtain the ManagedComponents for the given name/type and matcher. |
Set<String> |
getMatchingDeploymentName(String regex)
Search for all deployment names with a name matching the regex expression. |
Set<org.jboss.managed.api.ManagedDeployment> |
getMatchingDeployments(String name,
NameMatcher<org.jboss.managed.api.ManagedDeployment> matcher)
Search for all deployments matched by the matcher. |
org.jboss.managed.api.DeploymentTemplateInfo |
getTemplate(String name)
Get a deployment template. |
Set<String> |
getTemplateNames()
Get the registered DeploymentTemplate names. |
boolean |
load()
Load all active profiles in the ManagementView for future operations. |
void |
process()
Process the changes made to the profile. |
void |
reload()
Reload the current profiles managed deployments/objects. |
void |
removeComponent(org.jboss.managed.api.ManagedComponent comp)
Removes a given component. |
void |
updateComponent(org.jboss.managed.api.ManagedComponent comp)
Update the given component. |
Method Detail |
---|
boolean load()
void reload()
Set<String> getDeploymentNames()
Set<String> getDeploymentNamesForType(String type)
type
- - the deployment type
Set<String> getMatchingDeploymentName(String regex) throws NoSuchDeploymentException
regex
- - the regex to query deployment name
NoSuchDeploymentException
- if no matches are foundSet<org.jboss.managed.api.ManagedDeployment> getMatchingDeployments(String name, NameMatcher<org.jboss.managed.api.ManagedDeployment> matcher) throws NoSuchDeploymentException, Exception
name
- - the name to input to the matchermatcher
- - the matcher
Exception
NoSuchDeploymentException
org.jboss.managed.api.ManagedDeployment getDeployment(String name) throws NoSuchDeploymentException
name
- the name
NoSuchDeploymentException
- if no matches are foundSet<org.jboss.managed.api.ManagedDeployment> getDeploymentsForType(String type) throws Exception
type
- - the deployment or module type.
Exception
Set<org.jboss.managed.api.ComponentType> getComponentTypes()
Set<org.jboss.managed.api.ManagedComponent> getComponentsForType(org.jboss.managed.api.ComponentType type) throws Exception
type
- - the component type.
Exception
org.jboss.managed.api.ManagedComponent getComponent(String name, org.jboss.managed.api.ComponentType type) throws Exception
name
- - the ManagedComponent#getName value to matchtype
- - the component type
Exception
#getComponent(String, ComponentType, NameMatcher)
Set<org.jboss.managed.api.ManagedComponent> getMatchingComponents(String name, org.jboss.managed.api.ComponentType type, NameMatcher<org.jboss.managed.api.ManagedComponent> matcher) throws Exception
name
- - the ManagedComponent#getName value to matchtype
- - the component typematcher
- - a matcher that compares name to candidate ManagedComponent
Exception
void updateComponent(org.jboss.managed.api.ManagedComponent comp) throws Exception
comp
- the managed component
Exception
void removeComponent(org.jboss.managed.api.ManagedComponent comp) throws Exception
comp
- the managed component.
Exception
Set<String> getTemplateNames()
org.jboss.managed.api.DeploymentTemplateInfo getTemplate(String name) throws NoSuchDeploymentException
name
- - the deployment name to identify the template to retrieve
NoSuchDeploymentException
- - if there is no such templatevoid applyTemplate(String deploymentBaseName, org.jboss.managed.api.DeploymentTemplateInfo info) throws Exception
deploymentBaseName
- the base nameinfo
- the deployment template info
Exception
void process() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |