weaver      2004/07/02 07:34:42

  Modified:    portal/src/java/org/apache/jetspeed/tools/pamanager
                        Registration.java
  Log:
  Refactored out unneeded methods
  
  Revision  Changes    Path
  1.3       +9 -6      
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/Registration.java
  
  Index: Registration.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/Registration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Registration.java 9 Jun 2004 14:56:41 -0000       1.2
  +++ Registration.java 2 Jul 2004 14:34:41 -0000       1.3
  @@ -15,12 +15,17 @@
    */
   package org.apache.jetspeed.tools.pamanager;
   
  +import org.apache.jetspeed.util.descriptor.PortletApplicationWar;
  +
   /**
    * Registration interface for registering and deregistering portlet applications in 
the registry.
    * Registration does not include deployment operations. See the 
<link>Deployment</link> interface.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">David Sean Taylor</a>
  + * @author <a href="mailto:[EMAIL PROTECTED]">Scott T. Weaver</a>
  + * @author <a href="mailto:[EMAIL PROTECTED]">Matt Avery</a>
    * @version $Id$
  + * @see org.apache.jetspeed.util.desciptor.PortletApplicationWar
    */
   public interface Registration
   {
  @@ -28,11 +33,10 @@
        * Register a portlet application into the registry.
        * A PA should not be allowed to be registered if another PA with the same name 
or web application name exists. 
        * 
  -     * @param webApplicationName The name or directory name of the web application 
to be registered.
  -     * @param portletApplicationName The name of the portlet application to be 
registered. Can be same as web application.
  +     * @param paWar PortletApplicationWar to register
        * @throws PortletApplicationException
        */
  -    void register(String webApplicationName, String portletApplicationName, String 
warFile) 
  +    void register(PortletApplicationWar paWar) 
           throws PortletApplicationException;
           
       /**
  @@ -40,11 +44,10 @@
        * A PA should not be allowed to be unregistered if any portlets are referenced 
        * in a portal page.
        * 
  -     * @param webApplicationName The name or directory name of the web application 
to be unregistered.
        * @param portletApplicationName The name of the portlet application to be 
unregistered. Can be same as web application.
        * @throws PortletApplicationException
        */
  -    void unregister(String webApplicationName, String portletApplicationName) 
  +    void unregister(String paName) 
           throws PortletApplicationException;
       
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to