org.formaria.aria.registry
Class RegistrationEntry

java.lang.Object
  extended by org.formaria.aria.registry.RegistrationEntry

public class RegistrationEntry
extends java.lang.Object

A class for maintaining registration information and for matching it to match a registration instance to its usage


Field Summary
 java.lang.String className
           
 int matchMode
           
 java.util.Hashtable registrationConfig
           
 java.lang.String target
           
protected  java.lang.Class targetClass
           
 
Constructor Summary
RegistrationEntry()
           
 
Method Summary
 boolean matches(int mode, java.lang.Object comp, java.util.Hashtable regConfig, java.util.Hashtable instConfig)
          Find a matching registration entry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matchMode

public int matchMode

target

public java.lang.String target

className

public java.lang.String className

targetClass

protected java.lang.Class targetClass

registrationConfig

public java.util.Hashtable registrationConfig
Constructor Detail

RegistrationEntry

public RegistrationEntry()
Method Detail

matches

public boolean matches(int mode,
                       java.lang.Object comp,
                       java.util.Hashtable regConfig,
                       java.util.Hashtable instConfig)
Find a matching registration entry

Parameters:
mode - the matching mode
comp - the component for which the match is being made
regConfig - the registration attributes
instConfig - the instance attributes