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:
Thomas.Diesler@jboss.com

Method Summary
<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 attachments
 Set<String> getProperties()
          Get the set of property names
 Object getProperty(String key)
          Get an property
<T> T
removeAttachment(Class<T> key)
          Remove arbitrary attachments
 void removeProperty(String key)
          Remove a property
 void setProperties(Map<String,Object> props)
          Set a map of properties
 void setProperty(String key, Object value)
          Set a property
 

Method Detail

addAttachment

<T> T addAttachment(Class<T> key,
                    Object value)
Add arbitrary attachments


getAttachments

<T> Collection<T> getAttachments()
Get arbitrary attachments


getAttachment

<T> T getAttachment(Class<T> key)
Get an arbitrary attachment


removeAttachment

<T> T removeAttachment(Class<T> key)
Remove arbitrary attachments


getProperty

Object getProperty(String key)
Get an property


setProperty

void setProperty(String key,
                 Object value)
Set a property


removeProperty

void removeProperty(String key)
Remove a property


getProperties

Set<String> getProperties()
Get the set of property names


setProperties

void setProperties(Map<String,Object> props)
Set a map of properties



Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.