public class SimpleMetaData.MetaDataValue extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
PayloadKey |
type |
Object |
value |
Constructor and Description |
---|
SimpleMetaData.MetaDataValue(PayloadKey type,
Object value)
Constructs a metada data entry with the initial value
value . |
public final PayloadKey type
public Object value
public SimpleMetaData.MetaDataValue(PayloadKey type, Object value)
value
.type
- payload typevalue
- the initial value of this entrypublic Object get() throws IOException, ClassNotFoundException
IOException
- may be thrown during unmarshalling proccess
(only if payload key type is
PayloadKey.MARSHALLED
)ClassNotFoundException
- may be thrown during unmarshalling proccess
(only if payload key type is
PayloadKey.MARSHALLED
)Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.