This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public com.natixis.sample; | |
| public class MyBatch { | |
| public static void main(String[] args) { | |
| //SimpleBatchLauncher se chargera de la gestion des codes erreurs et du logging. | |
| SimpleBatchLauncher.execute(new Runnable() { | |
| public void run() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DatabaseProducer { | |
| @Produces | |
| @PersistenceContext(unitName = "applicationPetstorePU") | |
| private EntityManager em; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <u:selector name="body .blocAuthentificationInterieure"> | |
| <u:style name="background-image"> | |
| <f:resource f:key="SphinxGradient"> | |
| <f:attribute name="gradientHeight" value="100px"/> | |
| <f:attribute name="height" value="150px"/> | |
| <f:attribute name="gradientColor" skin="blocConnexionInterieureBackgroundColor"/> | |
| </f:resource> | |
| </u:style> | |
| <u:style name="background-repeat" value="repeat"/> | |
| <u:style name="background-position" value="0 50%"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <u:selector name=".actionButtons, .modalButtons, .tableButtons"> | |
| <u:style name="margin" skin="actionButtonsMargin" default="0"/><!-- (1) --> | |
| <f:if when="#{richSkin.blocButtonInversionOrdre eq 'true'}"><!-- (2) --> | |
| <u:style name="overflow" value="hidden"/><!-- (3) --> | |
| <u:style name="zoom" value="1"/><!-- (4) --> | |
| </f:if> | |
| </u:selector> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Singleton | |
| @Startup | |
| public class MyAppStartupConfig { | |
| @Inject | |
| private ThemeSelector themeSelector; | |
| @PostConstruct | |
| public void onLoad() { | |
| themeSelector.setAvailableThemes(new String[]{"blue", "red", "black"}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.jboss.seam.faces.test.weld.view.action; | |
| import javax.enterprise.inject.Instance; | |
| import javax.inject.Inject; | |
| import org.jboss.arquillian.container.test.api.Deployment; | |
| import org.jboss.arquillian.junit.Arquillian; | |
| import org.jboss.seam.faces.test.weld.view.action.annotation.AfterInvokeApplicationViewAction; | |
| import org.jboss.seam.faces.test.weld.view.action.annotation.BeforeRenderResponseViewAction; | |
| import org.jboss.seam.faces.test.weld.view.action.annotation.ClientController; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ViewConfigStore { | |
| private Map<String,ViewConfigDescriptor> viewConfigDescriptors = new ConcurrentHashMap<String, ViewConfigDescriptor>(); | |
| private Map<String,ViewConfigDescriptor> viewConfigRuntimeDescriptors = new ConcurrentHashMap<String, ViewConfigDescriptor>(); | |
| public void addViewConfigDescriptor(ViewConfigDescriptor descriptor); | |
| List<ViewConfigDescriptor> getViewConfigDescriptors(); | |
| ViewConfigDescriptor getViewConfigDescriptorForValue(Object value); | |
| // returns 'compiled' viewConfigDescriptor | |
| // this correspond to the fusioned stack of patterned-viewId descriptors | |
| ViewConfigDescriptor getRuntimeViewConfigDescriptor(String viewId); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SpringProducer { | |
| @Produces @SpringBean private ClientManager clientManager; | |
| } | |
| @Named | |
| @RequestScoped | |
| public class ClientAction { | |
| @Inject |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @UrlMapping(pattern = "/item/#{id}/") | |
| @ViewPattern("/item.xhtml") | |
| @ViewController(PageController.class) | |
| @Owner | |
| @ViewAction("#{pageController.viewAction(pageController.item)}", phase=AppliRequestValues.class, before=true) | |
| ITEM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @UrlMapping(pattern = "/item/#{id}/") | |
| @ViewPattern("/item.xhtml") | |
| @ViewController(PageController.class) | |
| @Owner | |
| @ViewAction("#{pageController.viewAction(pageController.item)}") | |
| @Before @ApplyRequestValues | |
| ITEM |
NewerOlder