org.jboss.managed.api
Interface RunStateMapper

All Known Implementing Classes:
StringRunStateMapper

public interface RunStateMapper

An interface for mapping a property meta value to a RunState.

Version:
$Revision: 84191 $
Author:
Scott.Stark@jboss.org

Method Summary
 RunState getRunState(ManagedProperty property, MetaValue value)
          Map from the given property meta value to a RunState
 

Method Detail

getRunState

RunState getRunState(ManagedProperty property,
                     MetaValue value)
Map from the given property meta value to a RunState

Parameters:
property - - the property supplying the value
value - - the property meta value
Returns:
the RunState. This may be Unknown if the value could not be mapped to an known run state.


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