|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.subject.provider.BaseSourceAdapter
edu.internet2.middleware.subject.provider.JNDISourceAdapter
public class JNDISourceAdapter
JNDI Source
Constructor Summary | |
---|---|
JNDISourceAdapter()
Allocates new JNDISourceAdapter; |
|
JNDISourceAdapter(String id1,
String name1)
Allocates new JNDISourceAdapter; |
Method Summary | |
---|---|
void |
checkConfig()
make sure the config is ok, and log descriptive errors if not |
Subject |
getSubject(String id1)
Deprecated. |
Subject |
getSubject(String id1,
boolean exceptionIfNull)
Gets a Subject by its ID. |
Subject |
getSubjectByIdentifier(String id1)
Deprecated. |
Subject |
getSubjectByIdentifier(String id1,
boolean exceptionIfNull)
note, you should implement this method since this implementation will become abstract at some point |
void |
init()
Called by SourceManager when it loads this source. |
String |
printConfig()
in the startup on this i2mi app, print helpful and brief info about this source |
Set<Subject> |
search(String searchValue)
Unstructured search for Subjects. |
Methods inherited from class edu.internet2.middleware.subject.provider.BaseSourceAdapter |
---|
addAttribute, addInitParam, addSubjectType, equals, getId, getInitParam, getInitParams, getName, getSubjectByIdOrIdentifier, getSubjectsByIdentifiers, getSubjectsByIds, getSubjectsByIdsOrIdentifiers, getSubjectType, getSubjectTypes, hashCode, loadSearch, setId, setName |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JNDISourceAdapter()
public JNDISourceAdapter(String id1, String name1)
id1
- name1
- Method Detail |
---|
public Subject getSubject(String id1, boolean exceptionIfNull) throws SubjectNotFoundException, SubjectNotUniqueException
Source
getSubject
in interface Source
getSubject
in class BaseSourceAdapter
exceptionIfNull
- if SubjectNotFoundException should be
throws if the subject is null, or if null should be returned
SubjectNotFoundException
SubjectNotUniqueException
BaseSourceAdapter.getSubject(java.lang.String, boolean)
public Subject getSubjectByIdentifier(String id1, boolean exceptionIfNull) throws SubjectNotFoundException, SubjectNotUniqueException
BaseSourceAdapter
getSubjectByIdentifier
in interface Source
getSubjectByIdentifier
in class BaseSourceAdapter
SubjectNotFoundException
SubjectNotUniqueException
BaseSourceAdapter.getSubjectByIdentifier(java.lang.String, boolean)
public Set<Subject> search(String searchValue)
BaseSourceAdapter
search
in interface Source
search
in class BaseSourceAdapter
BaseSourceAdapter.search(java.lang.String)
public void init() throws SourceUnavailableException
BaseSourceAdapter
init
in interface Source
init
in class BaseSourceAdapter
SourceUnavailableException
BaseSourceAdapter.init()
public void checkConfig()
Source
Source.checkConfig()
public String printConfig()
Source
Source.printConfig()
@Deprecated public Subject getSubject(String id1) throws SubjectNotFoundException, SubjectNotUniqueException
Source
getSubject
in interface Source
getSubject
in class BaseSourceAdapter
SubjectNotFoundException
SubjectNotUniqueException
BaseSourceAdapter.getSubject(java.lang.String)
@Deprecated public Subject getSubjectByIdentifier(String id1) throws SubjectNotFoundException, SubjectNotUniqueException
Source
getSubjectByIdentifier
in interface Source
getSubjectByIdentifier
in class BaseSourceAdapter
SubjectNotFoundException
SubjectNotUniqueException
BaseSourceAdapter.getSubjectByIdentifier(java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |