public interface XResource extends XElement, org.osgi.resource.Resource
Resource| Modifier and Type | Interface and Description |
|---|---|
static class |
XResource.State |
| Modifier and Type | Field and Description |
|---|---|
static XAttachmentKey<Long> |
RESOURCE_IDENTIFIER_KEY
The id attachment key
|
| Modifier and Type | Method and Description |
|---|---|
XIdentityCapability |
getIdentityCapability()
Get the identity capability for this resource
|
XResource.State |
getState()
Get the current resource state
|
int |
getTypes()
Returns the special types of this resource.
|
XWiringSupport |
getWiringSupport()
Get the
XWiringSupport associated with this resource |
boolean |
isMutable()
True if the resource is mutable
|
void |
setMutable(boolean mutable)
Make the resource immutable
|
void |
validate()
Validate the resource
|
addAttachment, getAttachment, removeAttachmentstatic final XAttachmentKey<Long> RESOURCE_IDENTIFIER_KEY
XIdentityCapability getIdentityCapability()
void validate()
XResource.State getState()
boolean isMutable()
void setMutable(boolean mutable)
XWiringSupport getWiringSupport()
XWiringSupport associated with this resourceint getTypes()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.