org.jboss.wsf.spi.deployment
Class AbstractExtensible

java.lang.Object
  extended by org.jboss.wsf.spi.deployment.AbstractExtensible
All Implemented Interfaces:
Extensible
Direct Known Subclasses:
ExtensibleWebServiceContext

public abstract class AbstractExtensible
extends java.lang.Object
implements Extensible

A general extendible artifact

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

Constructor Summary
AbstractExtensible()
           
 
Method Summary
<T> T
addAttachment(java.lang.Class<T> clazz, java.lang.Object obj)
          Add arbitrary attachments
<T> T
getAttachment(java.lang.Class<T> clazz)
          Get an arbitrary attachment
 java.util.Collection<java.lang.Object> 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractExtensible

public AbstractExtensible()
Method Detail

getAttachments

public java.util.Collection<java.lang.Object> getAttachments()
Description copied from interface: Extensible
Get arbitrary attachments

Specified by:
getAttachments in interface Extensible

getAttachment

public <T> T getAttachment(java.lang.Class<T> clazz)
Description copied from interface: Extensible
Get an arbitrary attachment

Specified by:
getAttachment in interface Extensible

addAttachment

public <T> T addAttachment(java.lang.Class<T> clazz,
                           java.lang.Object obj)
Description copied from interface: Extensible
Add arbitrary attachments

Specified by:
addAttachment in interface Extensible

removeAttachment

public <T> T removeAttachment(java.lang.Class<T> key)
Description copied from interface: Extensible
Remove arbitrary attachments

Specified by:
removeAttachment in interface Extensible

getProperties

public java.util.Set<java.lang.String> getProperties()
Description copied from interface: Extensible
Get the set of property names

Specified by:
getProperties in interface Extensible

getProperty

public java.lang.Object getProperty(java.lang.String key)
Description copied from interface: Extensible
Get an property

Specified by:
getProperty in interface Extensible

removeProperty

public void removeProperty(java.lang.String key)
Description copied from interface: Extensible
Remove a property

Specified by:
removeProperty in interface Extensible

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)
Description copied from interface: Extensible
Set a property

Specified by:
setProperty in interface Extensible

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.Object> props)
Description copied from interface: Extensible
Set a map of properties

Specified by:
setProperties in interface Extensible


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