org.jboss.managed.api
Interface ManagedOperation

All Superinterfaces:
Serializable
All Known Implementing Classes:
ManagedOperationImpl

public interface ManagedOperation
extends Serializable

A representation of a managed operation.

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

Nested Class Summary
static class ManagedOperation.Impact
          The side-effect impact of invoking an operation
 
Method Summary
 String getDescription()
          Get the operation description
 ManagedOperation.Impact getImpact()
          Get the impact of the operation
 String getName()
          Get the name of the operation
 ManagedParameter[] getParameters()
          The parameter information for the operation arguments.
 MetaType getReturnType()
          The MetaType for the operation return value.
 Object invoke(MetaValue... param)
          Invoke the operation given its parameter values.
 

Method Detail

getDescription

String getDescription()
Get the operation description

Returns:
the operation description

getName

String getName()
Get the name of the operation

Returns:
the name of the operation

getImpact

ManagedOperation.Impact getImpact()
Get the impact of the operation

Returns:
the side-effect type invoking the operation has.

getReturnType

MetaType getReturnType()
The MetaType for the operation return value.

Returns:
MetaType for the operation return value.

getParameters

ManagedParameter[] getParameters()
The parameter information for the operation arguments. An empty signature array is returned if the operation takes no arguments.

Returns:
parameter information for the operation arguments.

invoke

Object invoke(MetaValue... param)
Invoke the operation given its parameter values.

Parameters:
param - the varags for the operation parameters.
Returns:
the MetaValue for the result.


Copyright © 2008 JBoss Inc.. All Rights Reserved.