public interface Wiring
| Modifier and Type | Method and Description |
|---|---|
List<Wire> |
getProvidedResourceWires(String namespace)
Returns the
Wires to the provided capabilities
of this wiring. |
List<Wire> |
getRequiredResourceWires(String namespace)
Returns the
Wires to the requirements in use
by this wiring. |
org.jboss.gravia.resource.Resource |
getResource()
Returns the resource associated with this wiring.
|
List<org.jboss.gravia.resource.Capability> |
getResourceCapabilities(String namespace)
Returns the capabilities provided by this wiring.
|
List<org.jboss.gravia.resource.Requirement> |
getResourceRequirements(String namespace)
Returns the requirements of this wiring.
|
List<org.jboss.gravia.resource.Capability> getResourceCapabilities(String namespace)
Only capabilities considered by the resolver are returned.
A capability may not be required by any wiring and thus there may be no
wires for the capability.
namespace - The namespace of the capabilities to return or
null to return the capabilities from all namespaces.Capabilitys, or an
empty list if this wiring provides no capabilities in the
specified namespace.List<org.jboss.gravia.resource.Requirement> getResourceRequirements(String namespace)
Only requirements considered by the resolver are returned. For example,
requirements with effective directive not equal to resolve are not returned.
A wiring for a non-fragment resource has a subset of the declared requirements from the resource and all attached fragment resources. Not all declared requirements may be present since some may be discarded. For example, if a package is declared to be optionally imported and is not actually imported, the requirement must be discarded.
namespace - The namespace of the requirements to return or
null to return the requirements from all namespaces.Requirements, or an
empty list if this wiring uses no requirements in the specified
namespace.List<Wire> getProvidedResourceWires(String namespace)
Wires to the provided capabilities
of this wiring.namespace - The namespace of the capabilities for which to return
wires or null to return the wires for the capabilities in
all namespaces.Wires for the
capabilities of this wiring, or an empty list
if this wiring has no capabilities in the specified namespace.List<Wire> getRequiredResourceWires(String namespace)
Wires to the requirements in use
by this wiring.namespace - The namespace of the requirements for which to return
wires or null to return the wires for the requirements in
all namespaces.Wires for the
requirements of this wiring, or an empty list
if this wiring has no requirements in the specified namespace.org.jboss.gravia.resource.Resource getResource()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.