@Remote public interface BeanRemote { String method(); }
@Remote public interface RuntimeDataServiceEJBRemote extends RuntimeDataService, DeploymentEventListener { /** * This method is not supported in EJB remote api as <code>TaskSummaryQueryBuilder<code> is not remote capable object */ @Override TaskSummaryQueryBuilder taskSummaryQuery(String userId); }
@Remote public interface ProcessServiceEJBRemote extends ProcessService { }
@Remote public interface ProcessInstanceMigrationServiceEJBRemote extends ProcessInstanceMigrationService { }
@Remote public interface UserTaskServiceEJBRemote extends UserTaskService { }
@Remote public interface QueryServiceEJBRemote extends QueryService { }
@Remote public interface DefinitionServiceEJBRemote extends DefinitionService, DeploymentEventListener { }
@Remote public interface DeploymentServiceEJBRemote {
@Remote(RemoteInterface.class) public class RemoteInterfaceImpl implements RemoteInterface { @Override public void foo() { } @Override public String toString() { return super.toString(); } }
@Remote private interface RemoteInterfaceWithRemoteAnnotation extends RemoteInterface { void bar(); }
/** * Local stateless session bean implementing a remote interface. * Part of CDI extension lookup issue reproducer. * * @author Jakub Podlesak (jakub.podlesak at oracle.com) */ @Stateless @LocalBean @Remote(MyRemoteInterface.class) public class LocalBeanWithRemoteInterface { /** * Simple getter to be invoked from a CDI backed JAX-RS resource. * * @return Josh string literal. */ public String getName() { return "Josh"; } }
/** * A SLSB with a remote business interface * * @author Daniel Meyer * */ @Stateless @Remote(BusinessInterface.class) public class RemoteSLSBean implements BusinessInterface { public boolean doBusiness() { return true; } }
@Stateless @Remote(InvocationCounterService.class) @Local(InvocationCounterServiceLocal.class) public class InvocationCounterServiceBean implements InvocationCounterService, InvocationCounterServiceLocal { @Inject private InvocationCounter invocationCounter; public int getNumOfInvocations() { return invocationCounter.incrementAndGet(); } }
/** * A SingletonBean with a remote business interface * * @author Daniel Meyer * */ @Singleton @Remote(BusinessInterface.class) public class RemoteSingletonBean implements BusinessInterface { public boolean doBusiness() { return true; } }
/** * A SFSB with a remote business interface * * @author Daniel Meyer * */ @Stateful @Remote(BusinessInterface.class) public class RemoteSFSBean implements BusinessInterface { public boolean doBusiness() { return true; } }
@Remote public interface TimerSync { boolean waitFor(String name); void countDown(String name); }
@Remote public interface RuntimeDataServiceEJBRemote extends RuntimeDataService, DeploymentEventListener { /** * This method is not supported in EJB remote api as <code>TaskSummaryQueryBuilder<code> is not remote capable object */ @Override TaskSummaryQueryBuilder taskSummaryQuery(String userId); }
/** * * * @version $Rev: 607077 $ $Date: 2007-12-27 09:55:23 -0500 (Thu, 27 Dec 2007) $ */ @Remote public interface BasicStatefulInterceptedRemote { public String reverse(String str); public String concat(String str1, String str2); public Map<String, Object> getContextData(); }
/** * Remote interface for the tests. * @author Florent Benoit */ @Remote public interface IRemoteTester extends ITester { }
@Remote public interface BankManagerFacadeRemote { public java.util.List<Account> getAccountInformation(String customerId); public java.util.List<ExchangeRate> getExchangeRates(); public Customer getCustomer(String customerCode); public Double getAccountBalance(String accountNo); }