avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/manager ManagedEntry.java
Date Mon, 20 May 2002 11:53:49 GMT
donaldp     02/05/20 04:53:49

  Added:       src/java/org/apache/avalon/phoenix/components/manager
                        ManagedEntry.java
  Log:
  Extracted inner class from AbstractSystemManager
  
  Revision  Changes    Path
  1.1                  jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/manager/ManagedEntry.java
  
  Index: ManagedEntry.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included  with this distribution in
   * the LICENSE.txt file.
   */
  package org.apache.avalon.phoenix.components.manager;
  
  final class ManagedEntry
  {
      ///Object passed in for management
      private final Object m_object;
  
      ///Interfaces object wants to be managed through (can be null)
      private final Class[] m_interfaces;
  
      ///Object representation when exported (usually a proxy)
      private Object m_exportedObject;
  
      ManagedEntry( final Object object,
                    final Class[] interfaces )
      {
          m_object = object;
          m_interfaces = interfaces;
      }
  
      Object getObject()
      {
          return m_object;
      }
  
      Class[] getInterfaces()
      {
          return m_interfaces;
      }
  
      Object getExportedObject()
      {
          return m_exportedObject;
      }
  
      void setExportedObject( final Object exportedObject )
      {
          m_exportedObject = exportedObject;
      }
  }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message