/** * The service interface of widget implementations. This is not an API for application * developers. Application developers should use the data collection API to invoke * widget components. * * @version $Rev: 881960 $ $Date: 2009-11-18 14:08:31 -0800 (Wed, 18 Nov 2009) $ */ @Remotable public interface Widget extends Collection<String, InputStream> { }
@Remotable public interface Manageable { /** * isAlive method that allow service to be managed */ void isAlive(); }
/** * Provides access to a collection of data items. * * @version $Rev: 823034 $ $Date: 2009-10-07 22:44:31 -0700 (Wed, 07 Oct 2009) $ */ @Remotable public interface ItemCollection extends Collection<String, Item> { }
/** * Python component property evaluation interface. * * @version $Rev$ $Date$ */ @Remotable public interface PythonProperty { public String eval(); }
/** * The service interface of widget implementations. This is not an API for application * developers. Application developers should use the data collection API to invoke * widget components. * * @version $Rev: 881960 $ $Date: 2009-11-18 14:08:31 -0800 (Wed, 18 Nov 2009) $ */ @Remotable public interface Widget extends Collection<String, InputStream> { }
/** * Python component generic evaluation interface. * * @version $Rev$ $Date$ */ @Remotable public interface PythonEval { public String eval(String args) throws Exception; }
/** * The comet callback interface. */ @Remotable public interface CometCallback { /** * Send message back to the browser client. * * @param message * message to send * @return status of the underlying connection with the browser */ Status sendMessage(Object message); }
/** * An interface which describes the client response service interface for a non-native binding * performing an asynchronous invocation of a service * * @param <V> - the type of the non-fault response */ @Remotable() public interface AsyncResponseService<V> { /** * Async process completed with a wrapped Fault. Must only be invoked once * @param e - the wrapper containing the Fault to send * @throws IllegalStateException if either the setResponse method or the setFault method have been called previously */ @OneWay public void setWrappedFault(AsyncFaultWrapper w); /** * Async process completed with a response message. Must only be invoked once * @throws IllegalStateException if either the setResponse method or the setFault method have been called previously * @param res - the response message, which is of type V */ @OneWay public void setResponse(V res); }
@Remotable @Path("") public interface DomainAssetManagerResource { @GET @Path("{domainURI}/services/status") List<Status> getServiceStatus(@PathParam("domainURI") @DefaultValue("default") String domainURI); }
/** * Provides access to a collection of resources using Atom. * * @version $Rev: 823032 $ $Date: 2009-10-07 22:41:24 -0700 (Wed, 07 Oct 2009) $ */ @Remotable public interface MediaCollection extends Collection { /** * Creates a new media entry * * @param title * @param slug * @param contentType * @param media */ Entry postMedia(String title, String slug, String contentType, InputStream media); /** * Update a media entry. * * @param id * @param contentType * @param media * @return */ void putMedia(String id, String contentType, InputStream media) throws NotFoundException; }
@Remotable @Path("") public interface DomainCompositeResource { @GET @Path("{domainURI}") String getDomainComposite(@PathParam("domainURI") @DefaultValue("default") String domainURI); }
@Remotable public interface Collection <K, D> {
@Remotable public interface Collection {