org.jboss.services.binding.managed
Class ServiceBindingSetMapper
java.lang.Object
org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>
org.jboss.services.binding.managed.ServiceBindingSetMapper
public class ServiceBindingSetMapper
- extends org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>
MetaMapper
for a set of ServiceBindingSet
s.
- Author:
- Brian Stansberry
Field Summary |
static org.jboss.metatype.api.types.CompositeMetaType |
SERVICE_BINDING_SET_TYPE
|
static org.jboss.metatype.api.types.CollectionMetaType |
TYPE
|
Methods inherited from class org.jboss.metatype.spi.values.MetaMapper |
getMetaMapper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final org.jboss.metatype.api.types.CollectionMetaType TYPE
SERVICE_BINDING_SET_TYPE
public static final org.jboss.metatype.api.types.CompositeMetaType SERVICE_BINDING_SET_TYPE
ServiceBindingSetMapper
public ServiceBindingSetMapper()
getMetaType
public org.jboss.metatype.api.types.MetaType getMetaType()
- Overrides:
getMetaType
in class org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>
mapToType
public Type mapToType()
- Overrides:
mapToType
in class org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>
createMetaValue
public org.jboss.metatype.api.values.MetaValue createMetaValue(org.jboss.metatype.api.types.MetaType metaType,
Set<ServiceBindingSet> object)
- Specified by:
createMetaValue
in class org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>
unwrapMetaValue
public Set<ServiceBindingSet> unwrapMetaValue(org.jboss.metatype.api.values.MetaValue metaValue)
- Converts the
CollectionValue
metaValue
into a set
of ServiceBindingMetadata
.
- Specified by:
unwrapMetaValue
in class org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>
- Throws:
IllegalArgumentException
- if metaValue
is not a
CollectionValue
or if any element is not a CompositeValue
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.