|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.deployers.spi.attachments.helpers.AbstractAttachments
public abstract class AbstractAttachments
AbstractAttachments.
| Constructor Summary | |
|---|---|
AbstractAttachments()
|
|
| Method Summary | ||
|---|---|---|
|
getAttachment(Class<T> type)
Get attachment |
|
|
getAttachment(String name,
Class<T> expectedType)
Get attachment |
|
boolean |
isAttachmentPresent(Class<?> type)
Is the attachment present |
|
boolean |
isAttachmentPresent(String name,
Class<?> expectedType)
Is the attachment present |
|
void |
readExternal(ObjectInput in)
|
|
void |
writeExternal(ObjectOutput out)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.deployers.spi.attachments.Attachments |
|---|
getAttachment, getAttachments, hasAttachments, isAttachmentPresent |
| Constructor Detail |
|---|
public AbstractAttachments()
| Method Detail |
|---|
public <T> T getAttachment(String name,
Class<T> expectedType)
Attachments
getAttachment in interface AttachmentsT - the expected typename - the name of the attachmentexpectedType - the expected type
public <T> T getAttachment(Class<T> type)
Attachments
getAttachment in interface AttachmentsT - the expected typetype - the type
public boolean isAttachmentPresent(String name,
Class<?> expectedType)
Attachments
isAttachmentPresent in interface Attachmentsname - the name of the attachmentexpectedType - the expected type
public boolean isAttachmentPresent(Class<?> type)
Attachments
isAttachmentPresent in interface Attachmentstype - the type
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||