You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by jm...@apache.org on 2005/06/28 22:20:33 UTC
cvs commit: ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind WSRP_v1_Registration_Binding_SOAPImpl.java WSRP_v1_PortletManagement_Binding_SOAPImpl.java WSRP_v1_ServiceDescription_Binding_SOAPImpl.java WSRP_v1_Markup_Binding_SOAPImpl.java
jmacna 2005/06/28 13:20:33
Modified: src/oasis/names/tc/wsrp/v1/bind
WSRP_v1_Registration_Binding_SOAPImpl.java
WSRP_v1_PortletManagement_Binding_SOAPImpl.java
WSRP_v1_ServiceDescription_Binding_SOAPImpl.java
WSRP_v1_Markup_Binding_SOAPImpl.java
Log:
Added missing calls to WSRPEngine
Revision Changes Path
1.5 +21 -3 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Registration_Binding_SOAPImpl.java
Index: WSRP_v1_Registration_Binding_SOAPImpl.java
===================================================================
RCS file: /home/cvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Registration_Binding_SOAPImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- WSRP_v1_Registration_Binding_SOAPImpl.java 6 Jun 2005 08:50:14 -0000 1.4
+++ WSRP_v1_Registration_Binding_SOAPImpl.java 28 Jun 2005 20:20:32 -0000 1.5
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2000-2001,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* WSRP_v1_Registration_Binding_SOAPImpl.java
*
@@ -7,17 +23,19 @@
package oasis.names.tc.wsrp.v1.bind;
+import org.apache.wsrp4j.producer.driver.WSRPEngine;
+
public class WSRP_v1_Registration_Binding_SOAPImpl implements oasis.names.tc.wsrp.v1.intf.WSRP_v1_Registration_PortType{
public oasis.names.tc.wsrp.v1.types.RegistrationContext register(oasis.names.tc.wsrp.v1.types.RegistrationData register) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault {
- return null;
+ return WSRPEngine.getInstance().register(register);
}
public oasis.names.tc.wsrp.v1.types.ReturnAny deregister(oasis.names.tc.wsrp.v1.types.RegistrationContext deregister) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault {
- return null;
+ return WSRPEngine.getInstance().deregister(deregister);
}
public oasis.names.tc.wsrp.v1.types.RegistrationState modifyRegistration(oasis.names.tc.wsrp.v1.types.ModifyRegistration modifyRegistration) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault {
- return null;
+ return WSRPEngine.getInstance().modifyRegistration(modifyRegistration);
}
}
1.5 +24 -6 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_PortletManagement_Binding_SOAPImpl.java
Index: WSRP_v1_PortletManagement_Binding_SOAPImpl.java
===================================================================
RCS file: /home/cvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_PortletManagement_Binding_SOAPImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- WSRP_v1_PortletManagement_Binding_SOAPImpl.java 6 Jun 2005 08:50:14 -0000 1.4
+++ WSRP_v1_PortletManagement_Binding_SOAPImpl.java 28 Jun 2005 20:20:32 -0000 1.5
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2000-2001,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* WSRP_v1_PortletManagement_Binding_SOAPImpl.java
*
@@ -7,29 +23,31 @@
package oasis.names.tc.wsrp.v1.bind;
+import org.apache.wsrp4j.producer.driver.WSRPEngine;
+
public class WSRP_v1_PortletManagement_Binding_SOAPImpl implements oasis.names.tc.wsrp.v1.intf.WSRP_v1_PortletManagement_PortType{
public oasis.names.tc.wsrp.v1.types.PortletDescriptionResponse getPortletDescription(oasis.names.tc.wsrp.v1.types.GetPortletDescription getPortletDescription) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault {
- return null;
+ return WSRPEngine.getInstance().getPortletDescription(getPortletDescription);
}
public oasis.names.tc.wsrp.v1.types.PortletContext clonePortlet(oasis.names.tc.wsrp.v1.types.ClonePortlet clonePortlet) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault {
- return null;
+ return WSRPEngine.getInstance().clonePortlet(clonePortlet);
}
public oasis.names.tc.wsrp.v1.types.DestroyPortletsResponse destroyPortlets(oasis.names.tc.wsrp.v1.types.DestroyPortlets destroyPortlets) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault {
- return null;
+ return WSRPEngine.getInstance().destroyPortlets(destroyPortlets);
}
public oasis.names.tc.wsrp.v1.types.PortletContext setPortletProperties(oasis.names.tc.wsrp.v1.types.SetPortletProperties setPortletProperties) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault {
- return null;
+ return WSRPEngine.getInstance().setPortletProperties(setPortletProperties);
}
public oasis.names.tc.wsrp.v1.types.PropertyList getPortletProperties(oasis.names.tc.wsrp.v1.types.GetPortletProperties getPortletProperties) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault {
- return null;
+ return WSRPEngine.getInstance().getPortletProperties(getPortletProperties);
}
public oasis.names.tc.wsrp.v1.types.PortletPropertyDescriptionResponse getPortletPropertyDescription(oasis.names.tc.wsrp.v1.types.GetPortletPropertyDescription getPortletPropertyDescription) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault {
- return null;
+ return WSRPEngine.getInstance().getPortletPropertyDescription(getPortletPropertyDescription);
}
}
1.5 +19 -1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_ServiceDescription_Binding_SOAPImpl.java
Index: WSRP_v1_ServiceDescription_Binding_SOAPImpl.java
===================================================================
RCS file: /home/cvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_ServiceDescription_Binding_SOAPImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- WSRP_v1_ServiceDescription_Binding_SOAPImpl.java 6 Jun 2005 08:49:35 -0000 1.4
+++ WSRP_v1_ServiceDescription_Binding_SOAPImpl.java 28 Jun 2005 20:20:32 -0000 1.5
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2000-2001,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* WSRP_v1_ServiceDescription_Binding_SOAPImpl.java
*
@@ -7,9 +23,11 @@
package oasis.names.tc.wsrp.v1.bind;
+import org.apache.wsrp4j.producer.driver.WSRPEngine;
+
public class WSRP_v1_ServiceDescription_Binding_SOAPImpl implements oasis.names.tc.wsrp.v1.intf.WSRP_v1_ServiceDescription_PortType{
public oasis.names.tc.wsrp.v1.types.ServiceDescription getServiceDescription(oasis.names.tc.wsrp.v1.types.GetServiceDescription getServiceDescription) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault {
- return null;
+ return WSRPEngine.getInstance().getServiceDescription(getServiceDescription);
}
}
1.5 +22 -4 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Markup_Binding_SOAPImpl.java
Index: WSRP_v1_Markup_Binding_SOAPImpl.java
===================================================================
RCS file: /home/cvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Markup_Binding_SOAPImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- WSRP_v1_Markup_Binding_SOAPImpl.java 6 Jun 2005 08:50:14 -0000 1.4
+++ WSRP_v1_Markup_Binding_SOAPImpl.java 28 Jun 2005 20:20:32 -0000 1.5
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2000-2001,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* WSRP_v1_Markup_Binding_SOAPImpl.java
*
@@ -7,21 +23,23 @@
package oasis.names.tc.wsrp.v1.bind;
+import org.apache.wsrp4j.producer.driver.WSRPEngine;
+
public class WSRP_v1_Markup_Binding_SOAPImpl implements oasis.names.tc.wsrp.v1.intf.WSRP_v1_Markup_PortType{
public oasis.names.tc.wsrp.v1.types.MarkupResponse getMarkup(oasis.names.tc.wsrp.v1.types.GetMarkup getMarkup) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.UnsupportedMimeTypeFault, oasis.names.tc.wsrp.v1.types.UnsupportedModeFault, oasis.names.tc.wsrp.v1.types.UnsupportedLocaleFault, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InvalidSessionFault, oasis.names.tc.wsrp.v1.types.InvalidCookieFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault, oasis.names.tc.wsrp.v1.types.UnsupportedWindowStateFault {
- return null;
+ return WSRPEngine.getInstance().getMarkup(getMarkup);
}
public oasis.names.tc.wsrp.v1.types.BlockingInteractionResponse performBlockingInteraction(oasis.names.tc.wsrp.v1.types.PerformBlockingInteraction performBlockingInteraction) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.UnsupportedMimeTypeFault, oasis.names.tc.wsrp.v1.types.UnsupportedModeFault, oasis.names.tc.wsrp.v1.types.UnsupportedLocaleFault, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InvalidSessionFault, oasis.names.tc.wsrp.v1.types.InvalidCookieFault, oasis.names.tc.wsrp.v1.types.PortletStateChangeRequiredFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault, oasis.names.tc.wsrp.v1.types.UnsupportedWindowStateFault {
- return null;
+ return WSRPEngine.getInstance().performBlockingInteraction(performBlockingInteraction);
}
public oasis.names.tc.wsrp.v1.types.ReturnAny releaseSessions(oasis.names.tc.wsrp.v1.types.ReleaseSessions releaseSessions) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault {
- return null;
+ return WSRPEngine.getInstance().releaseSessions(releaseSessions);
}
public oasis.names.tc.wsrp.v1.types.ReturnAny initCookie(oasis.names.tc.wsrp.v1.types.InitCookie initCookie) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault {
- return null;
+ return WSRPEngine.getInstance().initCookie(initCookie);
}
}