|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.seam.remoting.MetadataCache
@ApplicationScoped public class MetadataCache
Caches BeanMetadata instances
Constructor Summary | |
---|---|
MetadataCache()
|
Method Summary | |
---|---|
Map<String,Type> |
getAccessibleProperties(Class<?> cls)
A helper method, used internally by InterfaceGenerator and also when serializing responses. |
Set<Class<?>> |
getDependencies(Class<?> beanType)
Returns the metadata for the specified bean type and all of its reachable dependencies |
protected String |
getFieldType(Type type)
Returns the remoting "type" for a specified class. |
BeanMetadata |
getMetadata(Class<?> beanClass)
|
Set<BeanMetadata> |
loadBeans(Set<String> names)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetadataCache()
Method Detail |
---|
public BeanMetadata getMetadata(Class<?> beanClass)
@WebRemote public Set<BeanMetadata> loadBeans(Set<String> names)
public Set<Class<?>> getDependencies(Class<?> beanType)
beanType
-
protected String getFieldType(Type type)
type
- Type The type for which to return the remoting type.
public Map<String,Type> getAccessibleProperties(Class<?> cls)
cls
- Class The class to scan for accessible properties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |