org.jboss.kernel.plugins.deployment.props.vertex
Interface LevelVertexFactory

All Known Implementing Classes:
AbstractLevelVertexFactory, BeanVertexFactory, ClassVertexFactory, HolderVertexFactory, KeywordLevelVertexFactory, PropertyVertexFactory

public interface LevelVertexFactory

Level vertex factory.

Author:
Ales Justin

Nested Class Summary
static class LevelVertexFactory.LevelVertexFactoryComparator
           
 
Field Summary
static Comparator<LevelVertexFactory> COMPARATOR
          LevelVertexFactory comparator.
 
Method Summary
 TreeVertex<?> createVertex(String name)
          Create new vertex.
 int getOrder()
          Get the order.
 

Field Detail

COMPARATOR

static final Comparator<LevelVertexFactory> COMPARATOR
LevelVertexFactory comparator.

Method Detail

createVertex

TreeVertex<?> createVertex(String name)
Create new vertex. If name doesn't match factory's creation return null.

Parameters:
name - the name
Returns:
new vertex instance or null if cannot create vertex from name

getOrder

int getOrder()
Get the order.

Returns:
the order


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.