wt.jmx.core.mbeans
Interface InfoDelegateFactory<T>

All Known Subinterfaces:
NotificationHandlerDelegateFactory, SummaryDelegateFactory
All Known Implementing Classes:
ContextCaptureDelegate.Factory, RequestCaptureDelegate.Factory

public interface InfoDelegateFactory<T>

Common interface of delegate factories for use with Info and its subclasses. See the getCustomDelegateFactoryClass() and setCustomDelegateFactoryClass() methods in particular.

Implementation also requires implementations to provide a public, no-arg constructor.

Supported API: true

Extendable: true


Method Summary
 T getDelegate()
          Produces a delegate instance; returns null if it cannot.
 void setOwnerMBean(BaseObjectNamed ownerMBean)
          Called by owning InfoMBean to let factory know which MBean it will be servicing.
 

Method Detail

getDelegate

T getDelegate()
Produces a delegate instance; returns null if it cannot.

Supported API: true


setOwnerMBean

void setOwnerMBean(BaseObjectNamed ownerMBean)
Called by owning InfoMBean to let factory know which MBean it will be servicing. Method signature is same as that in SelfAwareMBean to remove need to implement this method when subclassing SelfAwareMBean. Implementation can be a no-op if this information is not of interest to the factory in question.

Supported API: true