|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.descriptor.example.ExampleCustomizedBeanCustomizer
public class ExampleCustomizedBeanCustomizer
Customizes the implemenation of ExampleCustomizedBean
.
Illustrates the contract that the generated bean has with the bean
customizer.
Constructor Summary | |
---|---|
ExampleCustomizedBeanCustomizer(ExampleRootBean customized)
Must define a constructor that takes the bean to be customized as its single argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExampleCustomizedBeanCustomizer(ExampleRootBean customized)
customized
- - bean to be customizedMethod Detail |
---|
public void _postCreate()
public void _preDestroy()
public void _validate() throws IllegalArgumentException
IllegalArgumentException
- is a validation error occurs.public String getModifiableCustomizedProperty()
ExampleCustomizedBean.getModifiableCustomizedProperty()
.
Note that the customizer must also implement the
ExampleCustomizedBean.setModifiableCustomizedProperty(java.lang.String)
and is thus
responsible for storing the property value.
public void setModifiableCustomizedProperty(String value)
ExampleCustomizedBean.setModifiableCustomizedProperty(java.lang.String)
.
See ExampleCustomizedBeanCustomizer.getModifiableCustomizedProperty()
public String getReadOnlyCustomizedProperty()
ExampleCustomizedBean.getReadOnlyCustomizedProperty()
.
Note that the customizer must also implement a setter for this property,
even though there is no setter defined by the interface (see
ExampleCustomizedBeanCustomizer.setReadOnlyCustomizedProperty(java.lang.String)
). The custom
implementation is responsible for storing the property value.
public void setReadOnlyCustomizedProperty(String value)
ExampleCustomizedBeanCustomizer.getReadOnlyCustomizedProperty()
.
public String customOperation(int value)
ExampleCustomizedBeanCustomizer.customOperation(int)
.
public String getGetterLikeOperation(int value)
ExampleCustomizedBeanCustomizer.getGetterLikeOperation(int)
.
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |