It's a shed alright...
Ready to move in.
Image by Getty Images via Daylife
package com.log.monitor;It is a trivial Java Bean interface with one getter/setter pair added here just as an example. Here is the implementation class:
import javax.management.Notification;
import javax.management.NotificationListener;
public interface CustomActionMBean {
public int getA();
public void setA(int a);
}
package com.log.monitor;
import javax.management.Notification;
import javax.management.NotificationListener;
public class CustomAction implements CustomActionMBean, NotificationListener {
private int a = 0;
public CustomAction() {
}
public void setA(int a) {
this.a = a;
}
public int getA() {
return a;
}
public void handleNotification(Notification arg0, Object arg1) {
System.out.println("Called... " + arg0.getMessage());
}
}
These get built into a jar file called CutomAction.jar, using whatever IDE or command line you prefer. I used Eclipse, and I found that I had to uncheck the compression option to get this to fully work.Image by [ r ♥ c e y t ♥ y ] {I br♥ke for bokeh} via Flickr
Image by Vaguely Artistic via Flickr
http://www.nytimes.com/2009/07/19/opinion/19wolfe.html?pagewanted=1&_r=1
"Three months after the landing, however, in October 1969, I began to wonder ... I was in Florida, at Cape Kennedy, the space program’s launching facility, aboard a NASA tour bus. The bus’s Spielmeister was a tall-fair-and-handsome man in his late 30s ... and a real piece of lumber when it came to telling tourists on a tour bus what they were looking at. He was so bad, I couldn’t resist striking up a conversation at the end of the tour.
"Sure enough, it turned out he had not been put on Earth for this job. He was an engineer who until recently had been a NASA heat-shield specialist. A baffling wave of layoffs had begun, and his job was eliminated. It was so bad he was lucky to have gotten this stand-up Spielmeister gig on a tour bus. Neil Armstrong and his two crew mates, Buzz Aldrin and Mike Collins, were still on their triumphal world tour ... while back home, NASA’s irreplaceable team of highly motivated space scientists — irreplaceable! — there were no others! ...anywhere! ... You couldn’t just run an ad saying, “Help Wanted: Experienced heat-shield expert” ... the irreplaceable team was breaking up, scattering in nobody knows how many hopeless directions."Jeff Sexton