01: /*
02: * JBoss, Home of Professional Open Source.
03: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
04: * as indicated by the @author tags. See the copyright.txt file in the
05: * distribution for a full listing of individual contributors.
06: *
07: * This is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU Lesser General Public License as
09: * published by the Free Software Foundation; either version 2.1 of
10: * the License, or (at your option) any later version.
11: *
12: * This software is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: *
17: * You should have received a copy of the GNU Lesser General Public
18: * License along with this software; if not, write to the Free
19: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21: */
22: package org.jboss.test.wsrp;
23:
24: import java.rmi.RemoteException;
25:
26: import org.jboss.test.wsrp.core.AccessDeniedFault;
27: import org.jboss.test.wsrp.core.BlockingInteractionResponse;
28: import org.jboss.test.wsrp.core.GetMarkup;
29: import org.jboss.test.wsrp.core.InconsistentParametersFault;
30: import org.jboss.test.wsrp.core.InitCookie;
31: import org.jboss.test.wsrp.core.InvalidCookieFault;
32: import org.jboss.test.wsrp.core.InvalidHandleFault;
33: import org.jboss.test.wsrp.core.InvalidRegistrationFault;
34: import org.jboss.test.wsrp.core.InvalidSessionFault;
35: import org.jboss.test.wsrp.core.InvalidUserCategoryFault;
36: import org.jboss.test.wsrp.core.MarkupResponse;
37: import org.jboss.test.wsrp.core.MissingParametersFault;
38: import org.jboss.test.wsrp.core.OperationFailedFault;
39: import org.jboss.test.wsrp.core.PerformBlockingInteraction;
40: import org.jboss.test.wsrp.core.PortletStateChangeRequiredFault;
41: import org.jboss.test.wsrp.core.ReleaseSessions;
42: import org.jboss.test.wsrp.core.ReturnAny;
43: import org.jboss.test.wsrp.core.UnsupportedLocaleFault;
44: import org.jboss.test.wsrp.core.UnsupportedMimeTypeFault;
45: import org.jboss.test.wsrp.core.UnsupportedModeFault;
46: import org.jboss.test.wsrp.core.UnsupportedWindowStateFault;
47:
48: //$Id: MarkupEndpoint.java 57211 2006-09-26 12:39:46Z dimitris@jboss.org $
49:
50: /**
51: * WSRP Endpoint for Markup Service
52: * @author <a href="mailto:Anil.Saldhana@jboss.org">Anil Saldhana</a>
53: * @since Mar 27, 2006
54: * @version $Revision: 57211 $
55: */
56: public class MarkupEndpoint implements WSRP_v1_Markup_PortType {
57:
58: public MarkupResponse getMarkup(GetMarkup getMarkup)
59: throws UnsupportedWindowStateFault, InvalidCookieFault,
60: InvalidSessionFault, AccessDeniedFault,
61: InconsistentParametersFault, InvalidHandleFault,
62: UnsupportedLocaleFault, UnsupportedModeFault,
63: OperationFailedFault, MissingParametersFault,
64: InvalidUserCategoryFault, InvalidRegistrationFault,
65: UnsupportedMimeTypeFault, RemoteException {
66: return new MarkupResponse();
67: }
68:
69: public BlockingInteractionResponse performBlockingInteraction(
70: PerformBlockingInteraction performBlockingInteraction)
71: throws InvalidSessionFault, UnsupportedModeFault,
72: UnsupportedMimeTypeFault, OperationFailedFault,
73: UnsupportedWindowStateFault, UnsupportedLocaleFault,
74: AccessDeniedFault, PortletStateChangeRequiredFault,
75: InvalidRegistrationFault, MissingParametersFault,
76: InvalidUserCategoryFault, InconsistentParametersFault,
77: InvalidHandleFault, InvalidCookieFault, RemoteException {
78: return new BlockingInteractionResponse();
79: }
80:
81: public ReturnAny releaseSessions(ReleaseSessions releaseSessions)
82: throws InvalidRegistrationFault, OperationFailedFault,
83: MissingParametersFault, AccessDeniedFault, RemoteException {
84: return new ReturnAny();
85: }
86:
87: public ReturnAny initCookie(InitCookie initCookie)
88: throws AccessDeniedFault, OperationFailedFault,
89: InvalidRegistrationFault, RemoteException {
90: return new ReturnAny();
91: }
92:
93: }
|