org.oddjob.jmx.server
Interface ServerSideToolkit


public interface ServerSideToolkit

An InterfaceHandlersFriend is able to help an interface handler to it's job.

Author:
Rob Gordon.

Method Summary
 Notification createNotification(String type)
           
 ServerContext getContext()
          Gives handlers access to the server context.
 RemoteOddjobBean getRemoteBean()
          Get the remote controller bean.
 ServerSession getServerSession()
          Get the server session.
 void runSynchronized(Runnable runnable)
          Used by handlers to execute functionality while holding the resync lock.
 void sendNotification(Notification notification)
          Send a notification.
 

Method Detail

sendNotification

void sendNotification(Notification notification)
Send a notification. This can be provided by BroadcastNotificationSupport in the implementation.

Parameters:
notification - The notification.

createNotification

Notification createNotification(String type)

runSynchronized

void runSynchronized(Runnable runnable)
Used by handlers to execute functionality while holding the resync lock.

Parameters:
runnable - The functionality to run.

getContext

ServerContext getContext()
Gives handlers access to the server context.

Returns:
The server context for this MBean.

getRemoteBean

RemoteOddjobBean getRemoteBean()
Get the remote controller bean.

Returns:

getServerSession

ServerSession getServerSession()
Get the server session.

Returns: