01: /*
02: * Copyright 2000-2001,2004 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.apache.wsrp4j.producer.provider;
18:
19: import org.apache.wsrp4j.exception.WSRPException;
20:
21: public interface Provider {
22:
23: /**
24: * Returns an instance of DescriptionHandler by calling the constructor
25: * of the corresponding class implementing the DescriptionHandler-Interface
26: *
27: * @return DescriptionHandler DescriptionHandler-instance.
28: */
29: public DescriptionHandler getDescriptionHandler();
30:
31: /**
32: * Returns an instance of PortletInvoker by calling the constructor
33: * of the corresponding class implementing the PortletInvoker-Interface
34: *
35: * @return PortletInvoker PortletInvoker-instance.
36: */
37: public PortletInvoker getPortletInvoker();
38:
39: /**
40: * Returns an instance of PortletPool by calling the constructor
41: * of the corresponding class implementing the PortletPool-Interface
42: *
43: * @return PortletPool PortletPool-instance.
44: */
45: public PortletPool getPortletPool();
46:
47: /**
48: * Returns an instance of PortletProperties by calling the constructor
49: * of the corresponding class implementing the PortletProperties-Interface
50: *
51: * @return PortletProperties PortletProperties-instance.
52: */
53: public PortletStateManager getPortletStateManager()
54: throws WSRPException;
55:
56: /**
57: * Returns an instance of URLComposer by calling the constructor
58: * of the corresponding class implementing the URLComposer-Interface
59: *
60: * @return URLComposer URLComposer-instance.
61: */
62: public URLComposer getURLComposer();
63:
64: /**
65: * Returns an instance of the PortletRegistrationFilterWriter
66: *
67: * @return PortletRegistrationFilterWriter
68: */
69: public PortletRegistrationFilterWriter getPortletRegistrationFilterWriter();
70:
71: /**
72: * Returns an instance of the PortletRegistrationFilter
73: *
74: * @return PortletRegistrationFilter
75: */
76: public PortletRegistrationFilter getPortletRegistrationFilter();
77:
78: }
|