|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
@Apache20LicenseCompatible
public @interface GridMBeanServerResource
Annotates a field or a setter method for injection of MBeanServer resource. MBean server
is provided to grid via GridConfiguration.
MBean serverr can be injected into instances of following classes:
Here is how injection would typically happen:
public class MyGridJob implements GridJob {
...
@GridMBeanServerResource
private MBeanServer mbeanSrv;
...
}
or
public class MyGridJob implements GridJob {
...
private MBeanSever mbeanSrv = null;
...
@GridMBeanServerResource
public void setMBeanServer(MBeanServer mbeanSrv) {
this.mbeanSrv = mbeanSrv;
}
...
}
See GridConfiguration.getMBeanServer() for Grid configuration details.
See Also:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|
|