|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.system.server.profileservice.repository.AbstractProfileDeployment
public class AbstractProfileDeployment
The profile deployment.
Constructor Summary | |
---|---|
AbstractProfileDeployment(String name)
|
|
AbstractProfileDeployment(org.jboss.virtual.VirtualFile root)
|
Method Summary | ||
---|---|---|
Object |
addAttachment(String name,
Object attachment)
Add attachment. |
|
Object |
addTransientAttachment(String name,
Object attachment)
Add transient attachment |
|
Object |
getAttachment(String name)
Get attachment. |
|
|
getAttachment(String name,
Class<T> expectedType)
Get attachment. |
|
Map<String,Object> |
getAttachments()
Get all attachments. |
|
String |
getName()
Get the deployment name. |
|
org.jboss.virtual.VirtualFile |
getRoot()
Get the root of the deployment. |
|
Object |
getTransientAttachment(String name)
Get the transient attachment. |
|
|
getTransientAttachment(String name,
Class<T> expectedType)
Get transient attachment. |
|
Object |
removeAttachment(String name)
Remove attachment. |
|
Object |
removeTransientAttachment(String name)
Remove transient attachment. |
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractProfileDeployment(String name)
public AbstractProfileDeployment(org.jboss.virtual.VirtualFile root)
Method Detail |
---|
public String getName()
getName
in interface org.jboss.profileservice.spi.ProfileDeployment
public org.jboss.virtual.VirtualFile getRoot()
getRoot
in interface org.jboss.profileservice.spi.ProfileDeployment
public Map<String,Object> getAttachments()
getAttachments
in interface org.jboss.profileservice.spi.ProfileDeployment
public Object getAttachment(String name)
getAttachment
in interface org.jboss.profileservice.spi.ProfileDeployment
name
- the name of the attachment
IllegalArgumentException
- for a null namepublic <T> T getAttachment(String name, Class<T> expectedType)
T
- the expected typename
- the name of the attachmentexpected
- the expected type
IllegalArgumentException
- for a null namepublic Object addAttachment(String name, Object attachment)
addAttachment
in interface org.jboss.profileservice.spi.ProfileDeployment
name
- the name of the attachmentattachment
- the attachment
IllegalArgumentException
- for a null name or attachmentpublic Object removeAttachment(String name)
name
- the attachment name
IllegalArgumentException
- for a null namepublic Object getTransientAttachment(String name)
name
- the name of the attachment
IllegalArgumentException
- for a null namepublic <T> T getTransientAttachment(String name, Class<T> expectedType)
T
- the expected typename
- the name of the attachmentexpected
- the expected type
IllegalArgumentException
- for a null namepublic Object addTransientAttachment(String name, Object attachment)
name
- the name of the attachmentattachment
- the attachment
IllegalArgumentException
- for a null name or attachmentpublic Object removeTransientAttachment(String name)
name
- the attachment name
IllegalArgumentException
- for a null namepublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |