|
||||||||||
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 Attachments
T
- the expected typename
- the name of the attachmentexpectedType
- the expected type
public <T> T getAttachment(Class<T> type)
Attachments
getAttachment
in interface Attachments
T
- the expected typetype
- the type
public boolean isAttachmentPresent(String name, Class<?> expectedType)
Attachments
isAttachmentPresent
in interface Attachments
name
- the name of the attachmentexpectedType
- the expected type
public boolean isAttachmentPresent(Class<?> type)
Attachments
isAttachmentPresent
in interface Attachments
type
- the type
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |