org.glassfish.admin.amx.impl.j2ee
Class MetadataImpl

java.lang.Object
  extended by org.glassfish.admin.amx.impl.j2ee.MetadataImpl
All Implemented Interfaces:
Metadata

public final class MetadataImpl
extends Object
implements Metadata


Field Summary
 
Fields inherited from interface org.glassfish.admin.amx.impl.j2ee.Metadata
CORRESPONDING_CONFIG, CORRESPONDING_REF, DEPLOYMENT_DESCRIPTOR, PARENT
 
Constructor Summary
MetadataImpl()
           
MetadataImpl(Map<String,Object> data)
           
MetadataImpl(Metadata meta)
           
 
Method Summary
 void add(String key, Object value)
           
 Map<String,Object> getAll()
           
 ObjectName getCorrespondingConfig()
           
 ObjectName getCorrespondingRef()
           
 String getDeploymentDescriptor()
           
<T> T
getMetadata(String name, Class<T> clazz)
           
 void remove(String key)
           
 void setCorrespondingConfig(ObjectName config)
           
 void setCorrespondingRef(ObjectName config)
           
 void setDeploymentDescriptor(String desc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataImpl

public MetadataImpl(Map<String,Object> data)

MetadataImpl

public MetadataImpl(Metadata meta)

MetadataImpl

public MetadataImpl()
Method Detail

getAll

public Map<String,Object> getAll()
Specified by:
getAll in interface Metadata

add

public void add(String key,
                Object value)
Specified by:
add in interface Metadata

remove

public void remove(String key)

setCorrespondingConfig

public void setCorrespondingConfig(ObjectName config)

getCorrespondingConfig

public ObjectName getCorrespondingConfig()
Specified by:
getCorrespondingConfig in interface Metadata

getCorrespondingRef

public ObjectName getCorrespondingRef()
Specified by:
getCorrespondingRef in interface Metadata

setCorrespondingRef

public void setCorrespondingRef(ObjectName config)

getDeploymentDescriptor

public String getDeploymentDescriptor()
Specified by:
getDeploymentDescriptor in interface Metadata

setDeploymentDescriptor

public void setDeploymentDescriptor(String desc)

getMetadata

public <T> T getMetadata(String name,
                         Class<T> clazz)
Specified by:
getMetadata in interface Metadata


Copyright © 2012. All Rights Reserved.