org.jage.platform.component.descriptor
Class ComponentDescriptorProvider
java.lang.Object
org.jage.platform.component.descriptor.ComponentDescriptorProvider
public class ComponentDescriptorProvider
- extends Object
This class allows one to obtain a descriptor for a class declared in a given definition.
- Author:
- AGH AgE Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentDescriptorProvider
public ComponentDescriptorProvider()
- Constructs a new
ComponentDescriptorProvider
.
getDescriptor
public IComponentDescriptor getDescriptor(IComponentDefinition definition)
throws ComponentException
- Returns a descriptor of the component defined in the given definition.
Descriptor is created on the base of the type from the definition.
- Parameters:
definition
- A definition for which a descriptor should be created.
- Returns:
- A descriptor for the given definition.
- Throws:
ComponentException
- If the descriptor could not be found.- See Also:
IComponentDefinition#getType()}
Copyright © 2006-2011 AGH University of Science and Technology. All Rights Reserved.