|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Session
A session is a token that encapsulates connectivity to a single Content Server instance.
It is the only supported mechanism to obtain manager instances that interact with Content Server's business objects.
Session is created with user's credentials, therefore, business objects obtained with a given have access privileges and restrictions for that user.
It is not advisable to cache Session instance in memory and use it across threads. A new Session instance must be obtained at the beginning of a program's thread and discarded after use.
Method Summary | |
---|---|
java.lang.Object |
getManager(java.lang.String name) Get a manager from the session given the name of Manager. |
Method Detail |
---|
java.lang.Object getManager(java.lang.String name)
name
- the name of the manager to return, as it was registered in the sessionjava.lang.IllegalArgumentException
- if the requested manager does not exist.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.