org.jboss.wsf.spi.deployment
Interface Extensible

All Known Subinterfaces:
ArchiveDeployment, Deployment, Endpoint, HttpContext, HttpServer, Service
All Known Implementing Classes:
AbstractExtensible, ExtensibleWebServiceContext, WebServiceContextDelegate

public interface Extensible

A general extendible artifact

Since:
20-Apr-2007
Author:
Thomas.Diesler@jboss.com

Method Summary
<T> T
addAttachment(java.lang.Class<T> key, java.lang.Object value)
          Add arbitrary attachments
<T> T
getAttachment(java.lang.Class<T> key)
          Get an arbitrary attachment
<T> java.util.Collection<T>
getAttachments()
          Get arbitrary attachments
 java.util.Set<java.lang.String> getProperties()
          Get the set of property names
 java.lang.Object getProperty(java.lang.String key)
          Get an property
<T> T
removeAttachment(java.lang.Class<T> key)
          Remove arbitrary attachments
 void removeProperty(java.lang.String key)
          Remove a property
 void setProperties(java.util.Map<java.lang.String,java.lang.Object> props)
          Set a map of properties
 void setProperty(java.lang.String key, java.lang.Object value)
          Set a property
 

Method Detail

addAttachment

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


getAttachments

<T> java.util.Collection<T> getAttachments()
Get arbitrary attachments


getAttachment

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


removeAttachment

<T> T removeAttachment(java.lang.Class<T> key)
Remove arbitrary attachments


getProperty

java.lang.Object getProperty(java.lang.String key)
Get an property


setProperty

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


removeProperty

void removeProperty(java.lang.String key)
Remove a property


getProperties

java.util.Set<java.lang.String> getProperties()
Get the set of property names


setProperties

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



Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.