List of usage examples for com.liferay.portal.kernel.util Base64 stringToObject
public static Object stringToObject(String s, ClassLoader classLoader)
From source file:com.liferay.wsrp.model.impl.WSRPConsumerImpl.java
License:Open Source License
public RegistrationContext getRegistrationContext() { if (_registrationContext != null) { return _registrationContext; }//ww w . java 2 s . co m String registrationContextString = getRegistrationContextString(); if (Validator.isNotNull(registrationContextString)) { _registrationContext = (RegistrationContext) Base64.stringToObject(registrationContextString, getClass().getClassLoader()); } return _registrationContext; }