|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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 AnonymousProfileWrapper |
createAnonymousProfile()
Create a new AnonymousProfileWrapper with no possibility of being tracked. |
static ProfileIdentity |
createProfileIdentity(String username,
String groupname)
Create a ProfileIdentity object. |
static ProfileWrapper |
getProfile(ProfileIdentity id)
Create a ProfileWrapper for the given ProfileIdentity. |
static ProfileWrapper |
getProfile(String username,
String groupname)
Create a ProfileWrapper for the given username and 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(String username, String groupname)
username
- the username of the profilegroupname
- the groupname of the profile
public static ProfileWrapper getProfile(String username, String groupname) throws RemoteException, ProfileNotFoundException
username
- the username of the profilegroupname
- the groupname of the profile
ProfileNotFoundException
- if the given identity(ies) do not exist
RemoteException
public static ProfileWrapper getProfile(ProfileIdentity id) throws RemoteException, ProfileNotFoundException
ProfileNotFoundException
- if the given identity(ies) do not exist
RemoteException
public static AnonymousProfileWrapper createAnonymousProfile()
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |