Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
[BZ 1524369] Fix EJB annotations for proper lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Burman authored and spinder committed Feb 5, 2018
1 parent 612757d commit e651426
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Expand Up @@ -48,7 +48,7 @@
* @author John Sanda
*/
@Stateless
public class StorageNodeOperationsHandlerBean implements StorageNodeOperationsHandlerLocal {
public class StorageNodeOperationsHandlerBean implements StorageNodeOperationsHandlerLocal, StorageNodeOperationsHandlerRemote {

private final Log log = LogFactory.getLog(StorageNodeOperationsHandlerBean.class);

Expand Down
Expand Up @@ -3,6 +3,7 @@
import java.util.List;

import javax.ejb.Asynchronous;
import javax.ejb.Local;

import org.rhq.core.domain.auth.Subject;
import org.rhq.core.domain.cloud.StorageNode;
Expand All @@ -12,6 +13,7 @@
/**
* @author John Sanda
*/
@Local
public interface StorageNodeOperationsHandlerLocal extends StorageNodeOperationsHandlerRemote {

@Asynchronous
Expand Down
Expand Up @@ -18,12 +18,15 @@
*/
package org.rhq.enterprise.server.storage;

import javax.ejb.Remote;

import org.rhq.core.domain.auth.Subject;
import org.rhq.core.domain.cloud.StorageNode;

/**
* @author miburman
*/
@Remote
public interface StorageNodeOperationsHandlerRemote {
StorageNode removeMaintenanceMode(Subject subject, StorageNode storageNode);
}

0 comments on commit e651426

Please sign in to comment.