« Running multiple versions of IE | Main| Consuming web services in Notes and Domino 8 »

Tee hee

Category domino java dxl

import lotus.domino.*;
public class JavaAgent extends AgentBase {
public void NotesMain() {
try {
Session session = getSession();
AgentContext agentContext = session.getAgentContext();
DxlFactory.createAgent("James Bond", DxlAgent.LOTUSSCRIPT).addCodeEvent("Initialize", "Sub Initialize\n'Shaken, not stirred.\nEnd Sub").toDesignElement(agentContext.getCurrentDatabase());
} catch(Exception e) {
e.printStackTrace();
}
}
}



(cross-posted at BleedYellow)

Comments

Gravatar Image1 - Ooh! DXLFactory looks nifty. Emoticon

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Contact Me

Hire Me

Elsewhere

What the Quote?

"Screw Belgium, I don't wanna pay more than 15 bucks for a poop mug."

Steven Rodgers

"I think the air shark would be nice to us, 'cause we freed him from the burrito."

Tim Tripcony

"Yeah, but I can't reproduce it. Like cold fusion... or a mule."

Laura Tripcony

"Everywhere you look, the look is brunschwig."

Brent Bowers

"Yeah, 'cause we gotta keep our Turkey peeps happy."

Steven Rodgers

Apparel

Lotus Rocks

I write the code that makes the young girls cry

Current Terror Alert Level

Assorted Linkage

ClustrMap