org.openide.util
Class Lookup.Template
java.lang.Object
|
+--org.openide.util.Lookup.Template
- Enclosing class:
- Lookup
- public static final class Lookup.Template
- extends Object
Template to define pattern of object to look for.
I expect this class to grow in the future, but for now, it is
enough to start with something simple.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lookup.Template
public Lookup.Template()
- General template to find all possible instances.
Lookup.Template
public Lookup.Template(Class type)
- Constructor to create new template.
- Parameters:
serviceClass
- the class of service we are looking for
getType
public Class getType()
- Returns:
- the class we are looking for
Built on February 22 2001. | Portions Copyright 1997-2000 Sun Microsystems, Inc. All rights reserved.