org.apache.camel.spi
Interface ManagementAware<T>

All Known Implementing Classes:
TimerEndpoint

public interface ManagementAware<T>

An interface to represent an object being managed.

This allows you to gain fine grained control of manageing objects with Camel. For example various Camel components will implement this interface to provide management to their endpoints and consumers.

Camel will by default use generic management objects if objects do not implement this interface. These defaults are located in org.apache.camel.management.mbean.

Version:
$Revision: 809872 $

Method Summary
 Object getManagedObject(T object)
          Gets the managed object
 

Method Detail

getManagedObject

Object getManagedObject(T object)
Gets the managed object

Parameters:
object - the object to be managed
Returns:
the managed object


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.