org.jboss.axis.attachments
Class AttachmentSupport

java.lang.Object
  extended byorg.jboss.axis.attachments.AttachmentSupport

public final class AttachmentSupport
extends java.lang.Object

Provide access to the attechment support implementation.

The default implementation is AttachmentsImpl (src) You can overwrite the implementation through the engine option AxisEngine.PROP_ATTACHMENT_IMPLEMENTATION

Since:
31-May-2004

Field Summary
static java.lang.String DEFAULT_ATTACHMNET_IMPL
          Default Attachments Implementation class.
 
Constructor Summary
AttachmentSupport()
           
 
Method Summary
static java.lang.Class getImplementationClass()
          Get the attachment implementation class
static boolean isAttachmentSupportEnabled()
          Check if we have attachments enabled.
static boolean isAttachmentSupportEnabled(MessageContext (src)  msgCtx)
          Check if we have attachments enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ATTACHMNET_IMPL

public static final java.lang.String DEFAULT_ATTACHMNET_IMPL
Default Attachments Implementation class.

See Also:
Constant Field Values (src)
Constructor Detail

AttachmentSupport

public AttachmentSupport()
Method Detail

isAttachmentSupportEnabled

public static boolean isAttachmentSupportEnabled()
Check if we have attachments enabled.

The check is only done once.


isAttachmentSupportEnabled

public static boolean isAttachmentSupportEnabled(MessageContext (src)  msgCtx)
Check if we have attachments enabled.

The check is only done once.


getImplementationClass

public static java.lang.Class getImplementationClass()
Get the attachment implementation class