Java Doc for PropertiesProducerEntityManagerImpl.java in  » Portal » Open-Portal » com » sun » portal » wsrp » consumer » producermanager » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.wsrp.consumer.producermanager.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.wsrp.consumer.producermanager.impl.PropertiesProducerEntityManagerImpl

PropertiesProducerEntityManagerImpl
public class PropertiesProducerEntityManagerImpl implements ProducerEntityManager(Code)
PropertiesProducerEntityManagerImpl is an implementation of the ProducerEntityManager which uses file system as a persistent storage to store producer entity data. It is neither thread-safe nor is concurrent access supported. This implementation is meant to be used mainly for simple unit tests.


Field Summary
final public static  StringALLOWED_USER_PROFILE_MAPPING
    
final public static  StringCONSUMER_NAME
    
final public static  StringCOPYRIGHT_HEADER
    
final public static  StringCUSTOM_USER_PROFILE_MAPPING
    
final public static  StringDATA_FILE_BASENAME
    
final public static  StringDATA_FILE_EXTENSION
    
final public static  StringDATA_FILE_PATH
    
final public static  StringDEFAULT_REGISTRATION_DATA
    
final public static  StringENABLED
    
final public static  StringGLOBAL_DATA_FILENAME
    
final public static  StringID
    
final public static  StringLAST_MODIFIED
    
final public static  StringLIST_DELIMITER
    
final public static  StringMAPPING_DELIMITER
    
final public static  StringMARKUP_ENDPOINT
    
final public static  StringNAME
    
final public static  StringORG_DATA_FILENAME
    
final public static  StringPROPAGATION_TYPE
    
final public static  StringREGISTRATION_CONTEXT
    
final public static  StringREGISTRATION_DATA
    
final public static  StringSERVICE_DESCRIPTION
    
final public static  StringSERVICE_DESCRIPTION_LAST_MODIFIED
    
final public static  StringSTANDARD_USER_PROFILE_MAPPING
    
final public static  StringSTATUS
    
final public static  StringURL
    
final public static  StringUSER_CATEGORY_MAPPING
    
public static  FilebaseDir
    
protected static  ConsumerObjectFactorycofactory
    
protected static  StringconsumerAgent
    
protected  StringconsumerId
    
protected static  PropertiesdefaultGlobalProperties
    
protected  WSRPFactoryfactory
    
protected static  PropertiesglobalProperties
    
protected static  RemoteServiceStubManagerstubMgr
    


Method Summary
public  StringaddProducerEntity(String producerName, URL producerURL, String identityPropagationType, RegistrationData regData, Map userCategories, Map allowedUserProfiles, Map customUserProfiles)
    
public  StringaddProducerEntity(String producerName, URL producerURL, String identityPropagationType, String regHandle, Map userCategories, Map allowedUserProfiles, Map customUserProfiles)
    
protected  ProducerEntitycreateProducerEntity(String producerEntityId, String producerName, URL producerURL, String markupEndpoint, ProducerEntityStatus status, RegistrationData regData, RegistrationContext regContext, ServiceDescription serviceDescription, Map userCategories, Map allowedUserProfiles, Map customUserProfiles, long serviceDescLastModified, String lastModified, String identityPropagationType)
    
protected  voiddeleteProducerEntity(String producerEntityId)
    
public  voideliminateProducerEntity(String producerEntityId)
    
protected static  StringgetConsumerAgent()
    
public  StringgetConsumerName()
    
public  RegistrationDatagetDefaultRegistrationData()
    
public  ListgetEndpoints(URL producerURL)
    
public  ProducerEntitygetProducerEntity(String producerEntityId)
    
public  SetgetProducerEntityIds()
    
protected  StringgetProducerEntityLastModified(String producerEntityId)
    
public  ServiceDescriptiongetServiceDescription(URL producerURL)
    
public  ServiceDescriptiongetServiceDescription(URL producerURL, RegistrationContext regContext)
    
public  MapgetStandardUserProfileMapping()
    
public  voidinit(String consumerId, HttpServletRequest request)
    
public  voidinit(String consumerId, String username, String password)
    
public  voidinit(SSOToken ssoToken, String portalId, String consumerId)
    
public  booleanisActivated()
    
public  booleanisInbandRegistrationSupported(URL producerURL)
    
protected  PropertiesloadGlobalProperties()
    
protected  PropertiesloadOrgProperties()
    
protected  ProducerEntityloadProducerEntity(String producerEntityId)
    
protected  ProducerEntityloadProducerEntity(File file)
    
protected  PropertiesloadProperties(File file)
    
protected static  StringmapToString(Map map)
    
public  voidmodifyRegistration(String producerEntityId, RegistrationData regData)
    
public  voidremoveProducerEntity(String producerEntityId)
    
public  voidsetAllowedUserProfileMapping(String producerEntityId, Map allowedUserProfiles)
    
public  voidsetConsumerName(String consumerName)
    
public  voidsetCustomUserProfileMapping(String producerEntityId, Map customUserProfiles)
    
public  voidsetDefaultRegistrationData(RegistrationData rd)
    
public  voidsetIdentityPropagationType(String producerEntityId, String type)
    
public  voidsetName(String producerEntityId, String name)
    
public  voidsetStandardUserProfileMapping(Map standardUserProfileMap)
    
public  voidsetStatus(String producerEntityId, ProducerEntityStatus status)
    
public  voidsetURL(String producerEntityId, URL url)
    
public  voidsetUserCategoryMapping(String producerEntityId, Map userCategories)
    
protected  voidstoreGlobalProperties(Properties p)
    
protected  voidstoreOrgProperties(Properties p)
    
protected  voidstoreProducerEntity(ProducerEntity pe)
    
protected  voidstoreProperties(Properties p, String header, File file)
    
protected static  MapstringToMap(String mapString)
    
public  voidupdateServiceDescription(String producerEntityId)
    

Field Detail
ALLOWED_USER_PROFILE_MAPPING
final public static String ALLOWED_USER_PROFILE_MAPPING(Code)



CONSUMER_NAME
final public static String CONSUMER_NAME(Code)



COPYRIGHT_HEADER
final public static String COPYRIGHT_HEADER(Code)



CUSTOM_USER_PROFILE_MAPPING
final public static String CUSTOM_USER_PROFILE_MAPPING(Code)



DATA_FILE_BASENAME
final public static String DATA_FILE_BASENAME(Code)



DATA_FILE_EXTENSION
final public static String DATA_FILE_EXTENSION(Code)



DATA_FILE_PATH
final public static String DATA_FILE_PATH(Code)



DEFAULT_REGISTRATION_DATA
final public static String DEFAULT_REGISTRATION_DATA(Code)



ENABLED
final public static String ENABLED(Code)



GLOBAL_DATA_FILENAME
final public static String GLOBAL_DATA_FILENAME(Code)



ID
final public static String ID(Code)



LAST_MODIFIED
final public static String LAST_MODIFIED(Code)



LIST_DELIMITER
final public static String LIST_DELIMITER(Code)



MAPPING_DELIMITER
final public static String MAPPING_DELIMITER(Code)



MARKUP_ENDPOINT
final public static String MARKUP_ENDPOINT(Code)



NAME
final public static String NAME(Code)



ORG_DATA_FILENAME
final public static String ORG_DATA_FILENAME(Code)



PROPAGATION_TYPE
final public static String PROPAGATION_TYPE(Code)



REGISTRATION_CONTEXT
final public static String REGISTRATION_CONTEXT(Code)



REGISTRATION_DATA
final public static String REGISTRATION_DATA(Code)



SERVICE_DESCRIPTION
final public static String SERVICE_DESCRIPTION(Code)



SERVICE_DESCRIPTION_LAST_MODIFIED
final public static String SERVICE_DESCRIPTION_LAST_MODIFIED(Code)



STANDARD_USER_PROFILE_MAPPING
final public static String STANDARD_USER_PROFILE_MAPPING(Code)



STATUS
final public static String STATUS(Code)



URL
final public static String URL(Code)



USER_CATEGORY_MAPPING
final public static String USER_CATEGORY_MAPPING(Code)



baseDir
public static File baseDir(Code)



cofactory
protected static ConsumerObjectFactory cofactory(Code)



consumerAgent
protected static String consumerAgent(Code)



consumerId
protected String consumerId(Code)



defaultGlobalProperties
protected static Properties defaultGlobalProperties(Code)



factory
protected WSRPFactory factory(Code)



globalProperties
protected static Properties globalProperties(Code)



stubMgr
protected static RemoteServiceStubManager stubMgr(Code)





Method Detail
addProducerEntity
public String addProducerEntity(String producerName, URL producerURL, String identityPropagationType, RegistrationData regData, Map userCategories, Map allowedUserProfiles, Map customUserProfiles) throws WSRPConsumerException, InbandRegistrationNotSupportedException(Code)



addProducerEntity
public String addProducerEntity(String producerName, URL producerURL, String identityPropagationType, String regHandle, Map userCategories, Map allowedUserProfiles, Map customUserProfiles) throws WSRPConsumerException(Code)



createProducerEntity
protected ProducerEntity createProducerEntity(String producerEntityId, String producerName, URL producerURL, String markupEndpoint, ProducerEntityStatus status, RegistrationData regData, RegistrationContext regContext, ServiceDescription serviceDescription, Map userCategories, Map allowedUserProfiles, Map customUserProfiles, long serviceDescLastModified, String lastModified, String identityPropagationType) throws WSRPConsumerException(Code)



deleteProducerEntity
protected void deleteProducerEntity(String producerEntityId) throws WSRPConsumerException(Code)



eliminateProducerEntity
public void eliminateProducerEntity(String producerEntityId) throws WSRPConsumerException(Code)



getConsumerAgent
protected static String getConsumerAgent()(Code)



getConsumerName
public String getConsumerName() throws WSRPConsumerException(Code)



getDefaultRegistrationData
public RegistrationData getDefaultRegistrationData() throws WSRPConsumerException(Code)



getEndpoints
public List getEndpoints(URL producerURL) throws WSRPConsumerException(Code)



getProducerEntity
public ProducerEntity getProducerEntity(String producerEntityId) throws WSRPConsumerException(Code)



getProducerEntityIds
public Set getProducerEntityIds() throws WSRPConsumerException(Code)



getProducerEntityLastModified
protected String getProducerEntityLastModified(String producerEntityId) throws WSRPConsumerException(Code)



getServiceDescription
public ServiceDescription getServiceDescription(URL producerURL) throws WSRPConsumerException(Code)



getServiceDescription
public ServiceDescription getServiceDescription(URL producerURL, RegistrationContext regContext) throws WSRPConsumerException(Code)



getStandardUserProfileMapping
public Map getStandardUserProfileMapping() throws WSRPConsumerException(Code)



init
public void init(String consumerId, HttpServletRequest request) throws WSRPConsumerException(Code)



init
public void init(String consumerId, String username, String password) throws WSRPConsumerException(Code)



init
public void init(SSOToken ssoToken, String portalId, String consumerId) throws WSRPConsumerException(Code)



isActivated
public boolean isActivated()(Code)



isInbandRegistrationSupported
public boolean isInbandRegistrationSupported(URL producerURL) throws WSRPConsumerException(Code)



loadGlobalProperties
protected Properties loadGlobalProperties() throws WSRPConsumerException(Code)



loadOrgProperties
protected Properties loadOrgProperties() throws WSRPConsumerException(Code)



loadProducerEntity
protected ProducerEntity loadProducerEntity(String producerEntityId) throws WSRPConsumerException(Code)



loadProducerEntity
protected ProducerEntity loadProducerEntity(File file) throws WSRPConsumerException(Code)



loadProperties
protected Properties loadProperties(File file) throws WSRPConsumerException(Code)



mapToString
protected static String mapToString(Map map)(Code)



modifyRegistration
public void modifyRegistration(String producerEntityId, RegistrationData regData) throws WSRPConsumerException(Code)



removeProducerEntity
public void removeProducerEntity(String producerEntityId) throws WSRPConsumerException, InbandRegistrationNotSupportedException(Code)



setAllowedUserProfileMapping
public void setAllowedUserProfileMapping(String producerEntityId, Map allowedUserProfiles) throws WSRPConsumerException(Code)



setConsumerName
public void setConsumerName(String consumerName) throws WSRPConsumerException(Code)



setCustomUserProfileMapping
public void setCustomUserProfileMapping(String producerEntityId, Map customUserProfiles) throws WSRPConsumerException(Code)



setDefaultRegistrationData
public void setDefaultRegistrationData(RegistrationData rd) throws WSRPConsumerException(Code)



setIdentityPropagationType
public void setIdentityPropagationType(String producerEntityId, String type) throws WSRPConsumerException(Code)



setName
public void setName(String producerEntityId, String name) throws WSRPConsumerException(Code)



setStandardUserProfileMapping
public void setStandardUserProfileMapping(Map standardUserProfileMap) throws WSRPConsumerException(Code)



setStatus
public void setStatus(String producerEntityId, ProducerEntityStatus status) throws WSRPConsumerException(Code)



setURL
public void setURL(String producerEntityId, URL url) throws WSRPConsumerException(Code)



setUserCategoryMapping
public void setUserCategoryMapping(String producerEntityId, Map userCategories) throws WSRPConsumerException(Code)



storeGlobalProperties
protected void storeGlobalProperties(Properties p) throws WSRPConsumerException(Code)



storeOrgProperties
protected void storeOrgProperties(Properties p) throws WSRPConsumerException(Code)



storeProducerEntity
protected void storeProducerEntity(ProducerEntity pe) throws WSRPConsumerException(Code)



storeProperties
protected void storeProperties(Properties p, String header, File file) throws WSRPConsumerException(Code)



stringToMap
protected static Map stringToMap(String mapString)(Code)



updateServiceDescription
public void updateServiceDescription(String producerEntityId) throws WSRPConsumerException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w___w___w__.___ja__v__a___2___s.__c__o__m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.