[jboss-cvs] JBossAS SVN: r88078 - projects/fresh/trunk/fresh-jar/src/main/resources/META-INF.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Apr 30 18:28:14 EDT 2009
Author: alesj
Date: 2009-04-30 18:28:14 -0400 (Thu, 30 Apr 2009)
New Revision: 88078
Added:
projects/fresh/trunk/fresh-jar/src/main/resources/META-INF/fresh-service.xml
Removed:
projects/fresh/trunk/fresh-jar/src/main/resources/META-INF/jboss-service.xml
Log:
Rename back the service.
Copied: projects/fresh/trunk/fresh-jar/src/main/resources/META-INF/fresh-service.xml (from rev 88077, projects/fresh/trunk/fresh-jar/src/main/resources/META-INF/jboss-service.xml)
===================================================================
--- projects/fresh/trunk/fresh-jar/src/main/resources/META-INF/fresh-service.xml (rev 0)
+++ projects/fresh/trunk/fresh-jar/src/main/resources/META-INF/fresh-service.xml 2009-04-30 22:28:14 UTC (rev 88078)
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+ <mbean code="org.jboss.fresh.deployer.Cp2ConfigurationService" name="FRESH:service=Cp2ConfigurationService">
+ <attribute name="JNDIName">java:/FRESH/Configuration</attribute>
+ <attribute name="Properties">
+ cp2.UserTransaction.jndiName=java:comp/UserTransaction
+ </attribute>
+ </mbean>
+
+ <mbean code="org.jboss.fresh.deployer.ContextBinder" name="FRESH:service=GlobalContext">
+ <attribute name="JNDIName">java:/FRESH/GlobalContext</attribute>
+ </mbean>
+ <mbean code="org.jboss.fresh.deployer.PoolService" name="FRESH:service=ThreadPool">
+ <attribute name="JNDIName">java:/FRESH/ThreadPool</attribute>
+ <attribute name="FactoryName">org.jboss.fresh.cpii.services.PoolRunnerFactory</attribute>
+ <attribute name="PoolName">ThreadPool</attribute>
+ <attribute name="MinSize">0</attribute>
+ <attribute name="MaxSize">1000</attribute>
+ <attribute name="Blocking">true</attribute>
+ <attribute name="BlockingTimeout">10000</attribute>
+ </mbean>
+
+ <mbean code="org.jboss.fresh.deployer.VFSService" name="FRESH:service=VFS.Mem">
+ <attribute name="JNDIName">java:/FRESH/VFSMem</attribute>
+ <attribute name="VFSImpl">org.jboss.fresh.vfs.impl.DefaultVFS</attribute>
+ <attribute name="MetaClassFactory">org.jboss.fresh.vfs.impl.mem.MemVFSMetaFactory</attribute>
+ <attribute name="StoreClassFactory">org.jboss.fresh.vfs.impl.mem.MemVFSStoreFactory</attribute>
+ <attribute name="MetaPropertyString">memfs.name=root</attribute>
+ <attribute name="StorePropertyString">memfs.name=root</attribute>
+ <attribute name="TagFactory">org.jboss.fresh.vfs.impl.TimeTagFactory</attribute>
+ <depends>FRESH:service=Cp2ConfigurationService</depends>
+ </mbean>
+
+ <mbean code="org.jboss.fresh.deployer.RootVFSService" name="FRESH:service=VFS.Root">
+ <attribute name="JNDIName">java:/FRESH/VFS</attribute>
+ <attribute name="Automount">/=java:/FRESH/VFSMem</attribute>
+ <depends>FRESH:service=VFS.Mem</depends>
+ </mbean>
+
+
+ <mbean code="org.jboss.fresh.deployer.SystemShellService" name="FRESH:service=SystemShell">
+ <attribute name="JNDIName">java:/FRESH/SystemShell</attribute>
+ <attribute name="ThreadPoolJNDIName">java:/FRESH/ThreadPool</attribute>
+ <attribute name="VFSJNDIName">java:/FRESH/VFS</attribute>
+ <attribute name="GCInterval">10000</attribute>
+ <attribute name="ExecutableRegistry"><inject bean="BeanFactoryExecutableRegistry"/></attribute>
+ <depends>FRESH:service=Cp2ConfigurationService</depends>
+ <depends>FRESH:service=ThreadPool</depends>
+ <depends>FRESH:service=VFS.Root</depends>
+ </mbean>
+ <mbean code="org.jboss.fresh.deployer.ScriptingService" name="FRESH:service=Scripting">
+ <attribute name="JNDIName">java:/FRESH/Scripting</attribute>
+ <depends>FRESH:service=SystemShell</depends>
+ <depends>FRESH:service=VFS.Mem.Init</depends>
+ </mbean>
+
+ <mbean code="org.jboss.fresh.deployer.ShellExecutorService" name="FRESH:service=VFS.Mem.Init">
+ <attribute name="BatchCode">
+ mkdir /home
+ mkdir /home/admin
+ mkdir /bin
+ touch /bin/cd
+ setffld /bin/cd mime cp2-shell/executable
+ setattr /bin/cd Class org.jboss.fresh.shell.commands.CDExe
+ touch /bin/ls
+ setffld /bin/ls mime cp2-shell/executable
+ setattr /bin/ls Class org.jboss.fresh.shell.commands.LsExe
+ touch /bin/cat
+ setffld /bin/cat mime cp2-shell/executable
+ setattr /bin/cat Class org.jboss.fresh.shell.commands.CatExe
+ touch /bin/mkdir
+ setffld /bin/mkdir mime cp2-shell/executable
+ setattr /bin/mkdir Class org.jboss.fresh.shell.commands.MkDirExe
+ touch /bin/ln
+ setffld /bin/ln mime cp2-shell/executable
+ setattr /bin/ln Class org.jboss.fresh.shell.commands.LnExe
+ touch /bin/touch
+ setffld /bin/touch mime cp2-shell/executable
+ setattr /bin/touch Class org.jboss.fresh.shell.commands.TouchExe
+ touch /bin/rm
+ setffld /bin/rm mime cp2-shell/executable
+ setattr /bin/rm Class org.jboss.fresh.shell.commands.RmExe
+ touch /bin/setattr
+ setffld /bin/setattr mime cp2-shell/executable
+ setattr /bin/setattr Class org.jboss.fresh.shell.commands.SetAttrExe
+ touch /bin/info
+ setffld /bin/info mime cp2-shell/executable
+ setattr /bin/info Class org.jboss.fresh.shell.commands.InfoExe
+ touch /bin/cp
+ setffld /bin/cp mime cp2-shell/executable
+ setattr /bin/cp Class org.jboss.fresh.shell.commands.CpExe
+ touch /bin/mv
+ setffld /bin/mv mime cp2-shell/executable
+ setattr /bin/mv Class org.jboss.fresh.shell.commands.MvExe
+ touch /bin/run
+ setffld /bin/run mime cp2-shell/executable
+ setattr /bin/run Class org.jboss.fresh.shell.commands.RunExe
+ touch /bin/set
+ setffld /bin/set mime cp2-shell/executable
+ setattr /bin/set Class org.jboss.fresh.shell.commands.SetCommand
+ touch /bin/echo
+ setffld /bin/echo mime cp2-shell/executable
+ setattr /bin/echo Class org.jboss.fresh.shell.commands.EchoExe
+ touch /bin/ps
+ setffld /bin/ps mime cp2-shell/executable
+ setattr /bin/ps Class org.jboss.fresh.shell.commands.PsExe
+ touch /bin/setffld
+ setffld /bin/setffld mime cp2-shell/executable
+ setattr /bin/setffld Class org.jboss.fresh.shell.commands.SetFileFieldExe
+ touch /bin/lslns
+ setffld /bin/lslns mime cp2-shell/executable
+ setattr /bin/lslns Class org.jboss.fresh.shell.commands.LsLnsExe
+ touch /bin/echos
+ setffld /bin/echos mime cp2-shell/executable
+ setattr /bin/echos Class org.jboss.fresh.shell.commands.EchosExe
+ touch /bin/ctx
+ setffld /bin/ctx mime cp2-shell/executable
+ setattr /bin/ctx Class org.jboss.fresh.shell.commands.ContextExe
+ touch /bin/project
+ setffld /bin/project mime cp2-shell/executable
+ setattr /bin/project Class org.jboss.fresh.shell.commands.ProjectExe
+ touch /bin/exec
+ setffld /bin/exec mime cp2-shell/executable
+ setattr /bin/exec Class org.jboss.fresh.shell.commands.RunExe
+ touch /bin/sh
+ setffld /bin/sh mime cp2-shell/executable
+ setattr /bin/sh Class org.jboss.fresh.shell.commands.ScriptExe
+ touch /bin/jndi
+ setffld /bin/jndi mime cp2-shell/executable
+ setattr /bin/jndi Class org.jboss.fresh.shell.commands.JNDIExe
+ touch /bin/deploy
+ setffld /bin/deploy mime cp2-shell/executable
+ setattr /bin/deploy Class org.jboss.fresh.shell.commands.ProjectDeployExe
+ touch /bin/grep
+ setffld /bin/grep mime cp2-shell/executable
+ setattr /bin/grep Class org.jboss.fresh.shell.commands.GrepExe
+ touch /bin/reg
+ setffld /bin/reg mime cp2-shell/executable
+ setattr /bin/reg Class org.jboss.fresh.shell.commands.RegistryExe
+ touch /bin/ecquery
+ setffld /bin/ecquery mime cp2-shell/executable
+ setattr /bin/ecquery Class org.jboss.fresh.shell.commands.EventCentralQueryExe
+ touch /bin/wget
+ setffld /bin/wget mime cp2-shell/executable
+ setattr /bin/wget Class org.jboss.fresh.shell.commands.util.WebGetExe
+ touch /bin/history
+ setffld /bin/history mime cp2-shell/executable
+ setattr /bin/history Class org.jboss.fresh.shell.commands.HistoryExe
+ touch /bin/kill
+ setffld /bin/kill mime cp2-shell/executable
+ setattr /bin/kill Class org.jboss.fresh.shell.commands.KillExe
+ touch /bin/mbinvoke
+ setffld /bin/mbinvoke mime cp2-shell/executable
+ setattr /bin/mbinvoke Class org.jboss.fresh.shell.commands.MBeanInvokeExe
+ touch /bin/mbquery
+ setffld /bin/mbquery mime cp2-shell/executable
+ setattr /bin/mbquery Class org.jboss.fresh.shell.commands.MBeanQueryExe
+ touch /bin/mcinvoke
+ setffld /bin/mcinvoke mime cp2-shell/executable
+ setattr /bin/mcinvoke Class org.jboss.fresh.shell.commands.MCBeanInvokeExe
+ touch /bin/alias
+ setffld /bin/alias mime cp2-shell/executable
+ setattr /bin/alias Class org.jboss.fresh.shell.commands.AliasExe
+ mkdir /etc
+ mkdir /etc/shell
+ cat > /etc/shell/init.rc &< ../fresh/init/init.rc
+ mkdir /usr
+ mkdir /usr/local
+ mkdir /usr/local/cms
+ touch /usr/local/cms/diag
+ setffld /usr/local/cms/diag mime cp2-shell/executable
+ setattr /usr/local/cms/diag Class org.jboss.fresh.shell.commands.util.DiagExe
+ mkdir /tmp
+ mkdir /projects
+
+
+ </attribute>
+ <attribute name="ExecuteOnStart">true</attribute>
+ <attribute name="StopOnError">false</attribute>
+ <attribute name="UseLocal">true</attribute>
+ <attribute name="SvcName">java:/FRESH/SystemShell</attribute>
+ <depends>FRESH:service=SystemShell</depends>
+ <depends>jboss:service=ClientUserTransaction</depends>
+
+ </mbean>
+ <mbean code="org.jboss.fresh.deployer.SSHService" name="FRESH:service=SSHServer">
+ <attribute name="HomeDirectory">../fresh/ssh/</attribute>
+ <depends>FRESH:service=SystemShell</depends>
+ <depends>FRESH:service=VFS.Mem.Init</depends>
+ </mbean>
+</server>
\ No newline at end of file
Deleted: projects/fresh/trunk/fresh-jar/src/main/resources/META-INF/jboss-service.xml
===================================================================
--- projects/fresh/trunk/fresh-jar/src/main/resources/META-INF/jboss-service.xml 2009-04-30 22:27:06 UTC (rev 88077)
+++ projects/fresh/trunk/fresh-jar/src/main/resources/META-INF/jboss-service.xml 2009-04-30 22:28:14 UTC (rev 88078)
@@ -1,192 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<server>
- <mbean code="org.jboss.fresh.deployer.Cp2ConfigurationService" name="FRESH:service=Cp2ConfigurationService">
- <attribute name="JNDIName">java:/FRESH/Configuration</attribute>
- <attribute name="Properties">
- cp2.UserTransaction.jndiName=java:comp/UserTransaction
- </attribute>
- </mbean>
-
- <mbean code="org.jboss.fresh.deployer.ContextBinder" name="FRESH:service=GlobalContext">
- <attribute name="JNDIName">java:/FRESH/GlobalContext</attribute>
- </mbean>
- <mbean code="org.jboss.fresh.deployer.PoolService" name="FRESH:service=ThreadPool">
- <attribute name="JNDIName">java:/FRESH/ThreadPool</attribute>
- <attribute name="FactoryName">org.jboss.fresh.cpii.services.PoolRunnerFactory</attribute>
- <attribute name="PoolName">ThreadPool</attribute>
- <attribute name="MinSize">0</attribute>
- <attribute name="MaxSize">1000</attribute>
- <attribute name="Blocking">true</attribute>
- <attribute name="BlockingTimeout">10000</attribute>
- </mbean>
-
- <mbean code="org.jboss.fresh.deployer.VFSService" name="FRESH:service=VFS.Mem">
- <attribute name="JNDIName">java:/FRESH/VFSMem</attribute>
- <attribute name="VFSImpl">org.jboss.fresh.vfs.impl.DefaultVFS</attribute>
- <attribute name="MetaClassFactory">org.jboss.fresh.vfs.impl.mem.MemVFSMetaFactory</attribute>
- <attribute name="StoreClassFactory">org.jboss.fresh.vfs.impl.mem.MemVFSStoreFactory</attribute>
- <attribute name="MetaPropertyString">memfs.name=root</attribute>
- <attribute name="StorePropertyString">memfs.name=root</attribute>
- <attribute name="TagFactory">org.jboss.fresh.vfs.impl.TimeTagFactory</attribute>
- <depends>FRESH:service=Cp2ConfigurationService</depends>
- </mbean>
-
- <mbean code="org.jboss.fresh.deployer.RootVFSService" name="FRESH:service=VFS.Root">
- <attribute name="JNDIName">java:/FRESH/VFS</attribute>
- <attribute name="Automount">/=java:/FRESH/VFSMem</attribute>
- <depends>FRESH:service=VFS.Mem</depends>
- </mbean>
-
-
- <mbean code="org.jboss.fresh.deployer.SystemShellService" name="FRESH:service=SystemShell">
- <attribute name="JNDIName">java:/FRESH/SystemShell</attribute>
- <attribute name="ThreadPoolJNDIName">java:/FRESH/ThreadPool</attribute>
- <attribute name="VFSJNDIName">java:/FRESH/VFS</attribute>
- <attribute name="GCInterval">10000</attribute>
- <attribute name="ExecutableRegistry"><inject bean="BeanFactoryExecutableRegistry"/></attribute>
- <depends>FRESH:service=Cp2ConfigurationService</depends>
- <depends>FRESH:service=ThreadPool</depends>
- <depends>FRESH:service=VFS.Root</depends>
- </mbean>
- <mbean code="org.jboss.fresh.deployer.ScriptingService" name="FRESH:service=Scripting">
- <attribute name="JNDIName">java:/FRESH/Scripting</attribute>
- <depends>FRESH:service=SystemShell</depends>
- <depends>FRESH:service=VFS.Mem.Init</depends>
- </mbean>
-
- <mbean code="org.jboss.fresh.deployer.ShellExecutorService" name="FRESH:service=VFS.Mem.Init">
- <attribute name="BatchCode">
- mkdir /home
- mkdir /home/admin
- mkdir /bin
- touch /bin/cd
- setffld /bin/cd mime cp2-shell/executable
- setattr /bin/cd Class org.jboss.fresh.shell.commands.CDExe
- touch /bin/ls
- setffld /bin/ls mime cp2-shell/executable
- setattr /bin/ls Class org.jboss.fresh.shell.commands.LsExe
- touch /bin/cat
- setffld /bin/cat mime cp2-shell/executable
- setattr /bin/cat Class org.jboss.fresh.shell.commands.CatExe
- touch /bin/mkdir
- setffld /bin/mkdir mime cp2-shell/executable
- setattr /bin/mkdir Class org.jboss.fresh.shell.commands.MkDirExe
- touch /bin/ln
- setffld /bin/ln mime cp2-shell/executable
- setattr /bin/ln Class org.jboss.fresh.shell.commands.LnExe
- touch /bin/touch
- setffld /bin/touch mime cp2-shell/executable
- setattr /bin/touch Class org.jboss.fresh.shell.commands.TouchExe
- touch /bin/rm
- setffld /bin/rm mime cp2-shell/executable
- setattr /bin/rm Class org.jboss.fresh.shell.commands.RmExe
- touch /bin/setattr
- setffld /bin/setattr mime cp2-shell/executable
- setattr /bin/setattr Class org.jboss.fresh.shell.commands.SetAttrExe
- touch /bin/info
- setffld /bin/info mime cp2-shell/executable
- setattr /bin/info Class org.jboss.fresh.shell.commands.InfoExe
- touch /bin/cp
- setffld /bin/cp mime cp2-shell/executable
- setattr /bin/cp Class org.jboss.fresh.shell.commands.CpExe
- touch /bin/mv
- setffld /bin/mv mime cp2-shell/executable
- setattr /bin/mv Class org.jboss.fresh.shell.commands.MvExe
- touch /bin/run
- setffld /bin/run mime cp2-shell/executable
- setattr /bin/run Class org.jboss.fresh.shell.commands.RunExe
- touch /bin/set
- setffld /bin/set mime cp2-shell/executable
- setattr /bin/set Class org.jboss.fresh.shell.commands.SetCommand
- touch /bin/echo
- setffld /bin/echo mime cp2-shell/executable
- setattr /bin/echo Class org.jboss.fresh.shell.commands.EchoExe
- touch /bin/ps
- setffld /bin/ps mime cp2-shell/executable
- setattr /bin/ps Class org.jboss.fresh.shell.commands.PsExe
- touch /bin/setffld
- setffld /bin/setffld mime cp2-shell/executable
- setattr /bin/setffld Class org.jboss.fresh.shell.commands.SetFileFieldExe
- touch /bin/lslns
- setffld /bin/lslns mime cp2-shell/executable
- setattr /bin/lslns Class org.jboss.fresh.shell.commands.LsLnsExe
- touch /bin/echos
- setffld /bin/echos mime cp2-shell/executable
- setattr /bin/echos Class org.jboss.fresh.shell.commands.EchosExe
- touch /bin/ctx
- setffld /bin/ctx mime cp2-shell/executable
- setattr /bin/ctx Class org.jboss.fresh.shell.commands.ContextExe
- touch /bin/project
- setffld /bin/project mime cp2-shell/executable
- setattr /bin/project Class org.jboss.fresh.shell.commands.ProjectExe
- touch /bin/exec
- setffld /bin/exec mime cp2-shell/executable
- setattr /bin/exec Class org.jboss.fresh.shell.commands.RunExe
- touch /bin/sh
- setffld /bin/sh mime cp2-shell/executable
- setattr /bin/sh Class org.jboss.fresh.shell.commands.ScriptExe
- touch /bin/jndi
- setffld /bin/jndi mime cp2-shell/executable
- setattr /bin/jndi Class org.jboss.fresh.shell.commands.JNDIExe
- touch /bin/deploy
- setffld /bin/deploy mime cp2-shell/executable
- setattr /bin/deploy Class org.jboss.fresh.shell.commands.ProjectDeployExe
- touch /bin/grep
- setffld /bin/grep mime cp2-shell/executable
- setattr /bin/grep Class org.jboss.fresh.shell.commands.GrepExe
- touch /bin/reg
- setffld /bin/reg mime cp2-shell/executable
- setattr /bin/reg Class org.jboss.fresh.shell.commands.RegistryExe
- touch /bin/ecquery
- setffld /bin/ecquery mime cp2-shell/executable
- setattr /bin/ecquery Class org.jboss.fresh.shell.commands.EventCentralQueryExe
- touch /bin/wget
- setffld /bin/wget mime cp2-shell/executable
- setattr /bin/wget Class org.jboss.fresh.shell.commands.util.WebGetExe
- touch /bin/history
- setffld /bin/history mime cp2-shell/executable
- setattr /bin/history Class org.jboss.fresh.shell.commands.HistoryExe
- touch /bin/kill
- setffld /bin/kill mime cp2-shell/executable
- setattr /bin/kill Class org.jboss.fresh.shell.commands.KillExe
- touch /bin/mbinvoke
- setffld /bin/mbinvoke mime cp2-shell/executable
- setattr /bin/mbinvoke Class org.jboss.fresh.shell.commands.MBeanInvokeExe
- touch /bin/mbquery
- setffld /bin/mbquery mime cp2-shell/executable
- setattr /bin/mbquery Class org.jboss.fresh.shell.commands.MBeanQueryExe
- touch /bin/mcinvoke
- setffld /bin/mcinvoke mime cp2-shell/executable
- setattr /bin/mcinvoke Class org.jboss.fresh.shell.commands.MCBeanInvokeExe
- touch /bin/alias
- setffld /bin/alias mime cp2-shell/executable
- setattr /bin/alias Class org.jboss.fresh.shell.commands.AliasExe
- mkdir /etc
- mkdir /etc/shell
- cat > /etc/shell/init.rc &< ../fresh/init/init.rc
- mkdir /usr
- mkdir /usr/local
- mkdir /usr/local/cms
- touch /usr/local/cms/diag
- setffld /usr/local/cms/diag mime cp2-shell/executable
- setattr /usr/local/cms/diag Class org.jboss.fresh.shell.commands.util.DiagExe
- mkdir /tmp
- mkdir /projects
-
-
- </attribute>
- <attribute name="ExecuteOnStart">true</attribute>
- <attribute name="StopOnError">false</attribute>
- <attribute name="UseLocal">true</attribute>
- <attribute name="SvcName">java:/FRESH/SystemShell</attribute>
- <depends>FRESH:service=SystemShell</depends>
- <depends>jboss:service=ClientUserTransaction</depends>
-
- </mbean>
- <mbean code="org.jboss.fresh.deployer.SSHService" name="FRESH:service=SSHServer">
- <attribute name="HomeDirectory">../fresh/ssh/</attribute>
- <depends>FRESH:service=SystemShell</depends>
- <depends>FRESH:service=VFS.Mem.Init</depends>
- </mbean>
-</server>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list