|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metatype.api.values.MetaValueFactory
public abstract class MetaValueFactory
MetaValueFactory.
| Constructor Summary | |
|---|---|
MetaValueFactory()
|
|
| Method Summary | ||
|---|---|---|
abstract MetaValue |
create(Object value)
Create a meta value |
|
abstract MetaValue |
create(Object value,
MetaType type)
Create a meta value given its MetaType |
|
abstract MetaValue |
create(Object value,
Type type)
Create a meta value |
|
abstract MetaValue |
create(Object value,
org.jboss.reflect.spi.TypeInfo type)
Create a meta value |
|
static MetaValueFactory |
getInstance()
Get the metatype factory |
|
abstract void |
setBuilder(Class<?> clazz,
MetaValueBuilder<?> builder)
Set a meta value builder. |
|
abstract
|
setInstanceFactory(Class<T> clazz,
InstanceFactory<T> factory)
Set an instance factory. |
|
abstract Object |
unwrap(MetaValue metaValue)
Unwrap meta value. |
|
abstract Object |
unwrap(MetaValue metaValue,
Type type)
Unwrap meta value. |
|
abstract Object |
unwrap(MetaValue metaValue,
org.jboss.reflect.spi.TypeInfo type)
Unwrap meta value. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaValueFactory()
| Method Detail |
|---|
public static final MetaValueFactory getInstance()
public abstract MetaValue create(Object value)
value - the value
public abstract MetaValue create(Object value,
Type type)
value - the valuetype - the type
public abstract MetaValue create(Object value,
org.jboss.reflect.spi.TypeInfo type)
value - the valuetype - the type
public abstract MetaValue create(Object value,
MetaType type)
value - type - the meta type
public abstract void setBuilder(Class<?> clazz,
MetaValueBuilder<?> builder)
clazz - the classbuilder - the builder
public abstract <T> void setInstanceFactory(Class<T> clazz,
InstanceFactory<T> factory)
T - exact instance typeclazz - the classfactory - the factorypublic abstract Object unwrap(MetaValue metaValue)
metaValue - meta value
public abstract Object unwrap(MetaValue metaValue,
Type type)
metaValue - meta valuetype - the type
public abstract Object unwrap(MetaValue metaValue,
org.jboss.reflect.spi.TypeInfo type)
metaValue - meta valuetype - the type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||