return deployAdmin;
}
private void registerEventAdapters() throws LeaseDeniedException, UnknownEventException, RemoteException {
// translate ProvisionFailureEvents to notifications
EventDescriptor provisionFailureEventDescriptor = new EventDescriptor(ProvisionFailureEvent.class,
ProvisionFailureEvent.ID);
ProvisionFailureEventAdapter provisionFailureEventAdapter =
new ProvisionFailureEventAdapter(objectName, getNotificationBroadcasterSupport());
register(provisionFailureEventDescriptor, provisionFailureEventAdapter, null, Long.MAX_VALUE);
// register notification info
mbeanNoticationInfoList.add(provisionFailureEventAdapter.getNotificationInfo());
// translate ProvisionMonitorEvents to notifications
EventDescriptor provisionMonitorEventDescriptor = new EventDescriptor(ProvisionMonitorEvent.class,
ProvisionMonitorEvent.ID
);
ProvisionMonitorEventAdapter provisionMonitorEventAdapter =
new ProvisionMonitorEventAdapter(objectName, getNotificationBroadcasterSupport());