|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.p13n.usermgmt.profile.ProfileFactory
Factory class for retrieving user and group profiles. This will return an implementation of ProfileWrapper, which is a lightweight object that knows how to access the correct ProfileManager session beans based on the profile identity it is initialized with.
ProfileWrapper
Constructor Summary | |
ProfileFactory()
|
Method Summary | |
static ProfileWrapper |
createAnonymousProfile()
Create a ProfileWrapper implementation that uses an in-memory store for properties. |
static ProfileIdentity |
createProfileIdentity(java.lang.String username,
java.lang.String groupname)
Create a ProfileIdentity object. |
static ProfileWrapper |
getProfile(ProfileIdentity id)
Create a ProfileWrapper for the given ProfileIdentity. |
static ProfileWrapper |
getProfile(java.lang.String username,
java.lang.String groupname)
Create a ProfileWrapper for the given username anwhosd groupname. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ProfileFactory()
Method Detail |
public static ProfileIdentity createProfileIdentity(java.lang.String username, java.lang.String groupname)
username
- the username of the profilegroupname
- the groupname of the profilepublic static ProfileWrapper getProfile(java.lang.String username, java.lang.String groupname) throws java.rmi.RemoteException, ProfileNotFoundException
username
- the username of the profilegroupname
- the groupname of the profilepublic static ProfileWrapper getProfile(ProfileIdentity id) throws java.rmi.RemoteException, ProfileNotFoundException
username
- the username of the profilegroupname
- the groupname of the profilepublic static ProfileWrapper createAnonymousProfile()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |