public Object call() throws ActionException { try { action.consumeSignal(signal); } catch (ActionException ae) { // don't wrap an ActionException within an ActionException. throw ae; } catch (Throwable t) { ActionException nae = new ActionException(); nae.initCause(t); throw nae; } return null; } }
JoinedAndReadyNotificationSignalImpl ( final JoinedAndReadyNotificationSignal signal ) { this(signal.getMemberToken(), signal.getCurrentCoreMembers(), signal.getAllCurrentMembers(), signal.getGroupName(), signal.getStartTime(), signal.getEventSubType(), signal.getRejoinSubevent()); currentView = signal.getCurrentView(); previousView = signal.getPreviousView(); }
GroupLeadershipNotificationSignalImpl( final GroupLeadershipNotificationSignal signal ) { this( signal.getMemberToken(), signal.getPreviousView(), signal.getCurrentView(), signal.getCurrentCoreMembers(), signal.getAllCurrentMembers(), signal.getGroupName(), signal.getStartTime() ); }
JoinNotificationSignalImpl ( final JoinNotificationSignal signal ) { this(signal.getMemberToken(), signal.getCurrentCoreMembers(), signal.getAllCurrentMembers(), signal.getGroupName(), signal.getStartTime(), signal.getEventSubType(), signal.getRejoinSubevent()); }
public GroupManagementService getGMS(String groupName) { //return the gms instance for that group try { return GMSFactory.getGMSModule(groupName); } catch (GMSException e) { GMS_LOGGER.log(LogLevel.SEVERE, GMS_EXCEPTION_CANNOT_GET_GROUP_MODULE, new Object [] {groupName , e.getLocalizedMessage()}); return null; } }
public static GroupManagementService getGroupManagementServiceInstance() { GroupManagementService gmsImpl = null; try { gmsImpl = findByServiceLoader(); } catch (Throwable t) { // jdk 5 will end up here. Not a reportable error. } if (gmsImpl == null) { String classname = "com.sun.enterprise.ee.cms.impl.common.GroupManagementServiceImpl"; gmsImpl = findByClassLoader(classname); } return gmsImpl; }
private void notifyListeners(final Signal signal) { caller.processNotification(signal); } }
private static GMSCacheable createCompositeKey( final String componentName, final String memberTokenId, final Object key) { return new GMSCacheable(componentName, memberTokenId, key); }
@Override public void removeFailureRecoveryListener(String componentName) { if (gms != null) { gms.removeFailureRecoveryActionFactory(componentName); } }
@Override public void removeMessageListener(String componentName){ if (gms != null) { gms.removeMessageActionFactory(componentName); } }
JoinedAndReadyNotificationSignalImpl ( final JoinedAndReadyNotificationSignal signal ) { this(signal.getMemberToken(), signal.getCurrentCoreMembers(), signal.getAllCurrentMembers(), signal.getGroupName(), signal.getStartTime(), signal.getEventSubType(), signal.getRejoinSubevent()); currentView = signal.getCurrentView(); previousView = signal.getPreviousView(); }
GroupLeadershipNotificationSignalImpl( final GroupLeadershipNotificationSignal signal ) { this( signal.getMemberToken(), signal.getPreviousView(), signal.getCurrentView(), signal.getCurrentCoreMembers(), signal.getAllCurrentMembers(), signal.getGroupName(), signal.getStartTime() ); }
public Object call() throws ActionException { try { action.consumeSignal(signal); } catch (ActionException ae) { // don't wrap an ActionException within an ActionException. throw ae; } catch (Throwable t) { ActionException nae = new ActionException(); nae.initCause(t); throw nae; } return null; } }
public static GroupManagementService getGroupManagementServiceInstance() { GroupManagementService gmsImpl = null; try { gmsImpl = findByServiceLoader(); } catch (Throwable t) { // jdk 5 will end up here. Not a reportable error. } if (gmsImpl == null) { String classname = "com.sun.enterprise.ee.cms.impl.common.GroupManagementServiceImpl"; gmsImpl = findByClassLoader(classname); } return gmsImpl; }
private void notifyListeners(final Signal signal) { caller.processNotification(signal); } }
private static GMSCacheable createCompositeKey( final String componentName, final String memberTokenId, final Object key) { return new GMSCacheable(componentName, memberTokenId, key); }
private void notifyListeners(final Signal signal) { caller.processNotification(signal); } }
private void notifyListeners(final Signal signal) { caller.processNotification(signal); } }