org.jboss.beans.metadata.spi
Interface LifecycleMetaData

All Superinterfaces:
Cloneable, FeatureMetaData, org.jboss.util.JBossInterface, MetaDataVisitorNode, ParameterizedMetaData
All Known Subinterfaces:
CallbackMetaData, InstallMetaData
All Known Implementing Classes:
AbstractCallbackMetaData, AbstractInstallMetaData, AbstractLifecycleMetaData, InstallCallbackMetaData, UninstallCallbackMetaData

public interface LifecycleMetaData
extends ParameterizedMetaData, FeatureMetaData

Metadata about a lifecycle method.

Version:
$Revision: 70501 $
Author:
Adrian Brock

Method Summary
 String getMethodName()
          Get the method name.
 ControllerState getState()
          Get the state
 boolean isIgnored()
          Is default ignored.
 void setMethodName(String methodName)
          Set the method name
 void setState(ControllerState state)
          Set the state
 
Methods inherited from interface org.jboss.beans.metadata.spi.ParameterizedMetaData
getParameters
 
Methods inherited from interface org.jboss.beans.metadata.spi.FeatureMetaData
getAnnotations, getDescription
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 
Methods inherited from interface org.jboss.beans.metadata.spi.MetaDataVisitorNode
clone, describeVisit, getChildren, initialVisit
 

Method Detail

getState

ControllerState getState()
Get the state

Returns:
the state

setState

void setState(ControllerState state)
Set the state

Parameters:
state - the state

getMethodName

String getMethodName()
Get the method name.

Returns:
the method name.

setMethodName

void setMethodName(String methodName)
Set the method name

Parameters:
methodName - the method name

isIgnored

boolean isIgnored()
Is default ignored.

Returns:
should we ignore default


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