eXo Kernel :: Container 2.4.4-CLD

org.exoplatform.container.management
Class MetaDataBuilder

java.lang.Object
  extended by org.exoplatform.container.management.MetaDataBuilder

public class MetaDataBuilder
extends Object

A class that build the management view meta data of a specified class.

The following rules do apply to the class from which meta data are constructed:

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
MetaDataBuilder(Class clazz)
          Create a new builder.
 
Method Summary
 ManagedTypeMetaData build()
          Build the info.
 boolean isBuildable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataBuilder

public MetaDataBuilder(Class clazz)
                throws IllegalArgumentException
Create a new builder.

Parameters:
clazz - the clazz
Throws:
IllegalArgumentException - if the class is null or is not annotated by Managed
Method Detail

isBuildable

public boolean isBuildable()

build

public ManagedTypeMetaData build()
                          throws IllegalStateException
Build the info.

Returns:
returns the info
Throws:
IllegalStateException - raised by any build time issue

eXo Kernel :: Container 2.4.4-CLD

Copyright © 2013 eXo Platform SAS. All Rights Reserved.