01: /*
02: * Created on Apr 9, 2005
03: *
04: * TODO To change the template for this generated file go to
05: * Window - Preferences - Java - Code Style - Code Templates
06: */
07: package com.sun.portal.sra.admin.attribute.handlers;
08:
09: import com.sun.portal.admin.common.PSMBeanException;
10:
11: /**
12: * @author ss150821 - Sandeep Soni
13: *
14: * TODO To change the template for this generated type comment go to Window -
15: * Preferences - Java - Code Style - Code Templates
16: */
17: public class NetletAttributeHandler extends BaseSraAttributeHandler {
18:
19: private static final String SERVICE_NAME = "srapNetletService";
20:
21: private static final String ATTRIBUTE_PREFIX = "sunPortalNetlet";
22:
23: public void init(String component, String domainId, String portalId)
24: throws PSMBeanException {
25: try {
26: super .initialize(SERVICE_NAME, ATTRIBUTE_PREFIX, component,
27: domainId, portalId);
28: } catch (Exception e) {
29: throw new PSMBeanException(
30: "error.psadmin.handler.init.failed",
31: e.getMessage(), e);
32: }
33: }
34:
35: }
|