org.jboss.wsf.spi.deployment
Interface Extensible
- All Known Subinterfaces:
- ArchiveDeployment, Deployment, Endpoint, HttpEndpoint, JMSEndpoint, Service
- All Known Implementing Classes:
- AbstractExtensible, InvocationContext
public interface Extensible
A general extendible artifact- Since:
- 20-Apr-2007
- Author:
- [email protected]
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description <T> T
addAttachment(Class<T> key, Object value)
Add arbitrary attachments<T> T
getAttachment(Class<T> key)
Get an arbitrary attachment<T> Collection<T>
getAttachments()
Get arbitrary attachmentsSet<String>
getProperties()
Get the set of property namesObject
getProperty(String key)
Get an property<T> T
removeAttachment(Class<T> key)
Remove arbitrary attachmentsvoid
removeProperty(String key)
Remove a propertyvoid
setProperties(Map<String,Object> props)
Set a map of propertiesvoid
setProperty(String key, Object value)
Set a property
Method Detail
addAttachment
<T> T addAttachment(Class<T> key, Object value)
Add arbitrary attachments- Type Parameters:
T
- class type- Parameters:
key
- identifiervalue
- value- Returns:
- added attachment
getAttachments
<T> Collection<T> getAttachments()
Get arbitrary attachments- Type Parameters:
T
- class type of attachments- Returns:
- collection of attachments
getAttachment
<T> T getAttachment(Class<T> key)
Get an arbitrary attachment- Type Parameters:
T
- class type of attachments- Parameters:
key
- identifier- Returns:
- attachment found
removeAttachment
<T> T removeAttachment(Class<T> key)
Remove arbitrary attachments- Type Parameters:
T
- class type of attachments- Parameters:
key
- identifier- Returns:
- attachment removed
getProperty
Object getProperty(String key)
Get an property- Parameters:
key
- property identifier- Returns:
- found property
setProperty
void setProperty(String key, Object value)
Set a property- Parameters:
key
- property identifiervalue
- property value
removeProperty
void removeProperty(String key)
Remove a property- Parameters:
key
- property identifier
getProperties
Set<String> getProperties()
Get the set of property names- Returns:
- set of property values
Copyright © 2018 JBoss, by Red Hat. All rights reserved.